Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

web-app

> 前端框架
Open source

Mifos X Web App is the Web-UI component of Mifos X. It currently uses Apache Fineract as the backend and leverages the popular Angular framework. Main Branch i

380 stars0 likes1 views
WebsiteGitHub

About

Mifos X Web App is the Web-UI component of Mifos X. It currently uses Apache Fineract as the backend and leverages the popular Angular framework. Main Branch i

Mifos® X Web App

Overview

Mifos® X Web App is a modern single-page application (SPA) built on top of the Mifos® X platform for financial inclusion. It serves as the default web interface for the Mifos® user community.

Technologies Used:

  • HTML5, SCSS, and TypeScript
  • Angular 20 framework
  • Angular Material components

Table of Contents

  • Overview
  • Quick Links
  • Installation Guide
    • Prerequisites
    • Backend Setup
    • Frontend Setup
      • Method 1: Manual Installation
      • Method 2: Docker
      • Method 3: Docker Compose
  • Default Login Credentials
  • Development Commands
  • Proxy Configuration
    • Sandbox Proxy
    • Local Fineract
    • Testing the Proxy
  • Configuration Options
    • Environment Variables for Docker
      • Fineract Backend
      • Language Settings
      • Date Formats
      • Session & Performance
      • Password Policy
      • Email Validation
      • UI Display
      • OAUTH
      • OIDC
      • External National ID
      • Interbank Transfers
      • Mifos Copilot
      • Remittance Module
    • Client Data Masking
  • Production Mode
  • Interbank Transfer Menu
  • Role-Based Access Control
  • Mifos Copilot
  • Releases
  • Contributing
  • Related Projects

Quick Links

  • Live Demo (Updated nightly — sandbox data is reset every 6 hours; test data and transient state may be cleared.)
  • GitHub Repository
  • Slack Channel
  • Jira Board of Mifos
  • Jira Board of Mifos Web App Project
  • Financial Analytics Dashboards Documentation
  • AI Assistance Test Results

Installation Guide

Prerequisites for All Methods

  • Git: Download here
  • Mifos® X Backend (Apache Fineract®) - Required before running the web app

Backend Setup (REQUIRED FIRST)

Before installing the web app, you need to set up the Apache Fineract® backend server:

  1. Choose ONE of these backend options:

    • Option A: Use existing remote server

    • Use the demo (MariaDB) — sandbox data is reset every 6 hours; test data and transient state may be cleared.

    • Use the demo (Keycloak)

    • Use the demo (2FA)

    • Use the demo (Oidc)

    • Use the demo (Postgres)

    • Configure to your server by updating API URLs in environment files

    • Option B: Install local Fineract server

      Installation Guide

    • Option C: Docker Compose for full stack

      • See Docker Compose section below for one-step backend+frontend setup
  2. Configure environment files to point to your backend:

    • Update environments/environment.ts (development)
    • Update environments/environment.prod.ts (production)
    • Change OAuth2 settings if needed (disabled by default)

Frontend Setup (Web App)

Choose ONE of the following methods to install the web app:

Method 1: Manual Installation

  1. Install Node.js: Download here
  2. Install Angular CLI:
    bash
    npm install -g @angular/[email protected]
  3. Clone the repository:
    bash
    git clone https://github.com/openMF/web-app.git
    For Windows:
    bash
    git clone https://github.com/openMF/web-app.git --config core.autocrlf=input
  4. Navigate to the project directory:
    bash
    cd web-app
  5. Install dependencies:
    bash
    npm install
  6. Start the development server:
    ng serve
  7. Access the application at http://localhost:4200/

Method 2: Docker Container Only

  1. Pull the Docker image:

    bash
    docker pull openmf/web-app:1.15.0

    (Note: You can use :latest for the newest stable release, or :dev for the latest development build. Pinning to a specific version like :1.15.0 is recommended for production.)

  2. Run the container:

    bash
    docker run -d -p 4200:80 --env-file .env openmf/web-app:1.15.0
  3. Access the application at http://localhost:4200/

Method 3: Docker Compose (Frontend + Backend)

This sets up both the Mifos® X Web App and Apache Fineract® backend:

  1. Clone the repository:
    bash
    git clone https://github.com/openMF/web-app.git
    cd web-app
    For Windows:
    bash
    git clone https://github.com/openMF/web-app.git --config core.autocrlf=input
    cd web-app
  2. Start Docker Compose:
    bash
    docker compose up -d
  3. Access the application at http://localhost:4200/

Default Login Credentials

When using the development server with basic authentication:

  • Username: mifos
  • Password: password

Important: Do not alter these credentials.

Development Commands

  • Serve application: ng serve
  • Generate new component: ng generate component component-name
  • Build for production: ng build --configuration production or npm run build:prod
  • Get Angular CLI help: ng help

Proxy Configuration

The web app includes a proxy configuration (proxy.conf.js) that allows you to forward API requests to a remote Fineract backend during local development. This helps avoid CORS issues and enables you to work against production-like environments.

Using the Sandbox Proxy (Default)

By default, the proxy forwards /fineract-provider requests to the Mifos sandbox environment:

  • Target: https://demo.mifos.community
  • API Endpoint: https://apis.mifos.community (exposed in the demo environment)
  • System Reset: Demo test data and transient state are reset every 6 hours (expect data to be periodically cleared).

Sandbox Environment Variables:

bash
FINERACT_API_URLS=https://apis.mifos.community
FINERACT_API_URL=https://apis.mifos.community
FINERACT_API_PROVIDER=/fineract-provider/api
FINERACT_API_ACTUATOR=/fineract-provider
FINERACT_API_VERSION=/v1
FINERACT_PLATFORM_TENANT_IDENTIFIER=default
MIFOS_DEFAULT_LANGUAGE=en-US
MIFOS_SUPPORTED_LANGUAGES=cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW
MIFOS_PRELOAD_CLIENTS=true
MIFOS_DEFAULT_CHAR_DELIMITER=,

Using a Local Fineract Instance

To proxy to a local Fineract server instead:

Use the provided localhost proxy file (recommended for ng serve):

  1. Start the dev server with the localhost proxy:

    bash
    ng serve --proxy-config proxy.localhost.conf.js
  2. Ensure your local Fineract instance is running on http://localhost:8443.

Notes:

  • proxy.localhost.conf.js forwards /fineract-provider to your local backend to avoid CORS during development.
  • The HttpsProxyAgent / setupForProxy logic (present in proxy.conf.js) is only necessary when an upstream corporate/HTTP proxy must be used (set via HTTP_PROXY/http_proxy). It is not required for a direct localhost backend.

Proxy Features

  • CORS Avoidance: Eliminates cross-origin issues during local development
  • Error Handling: Gracefully handles proxy failures with detailed logging
  • Corporate Proxy Support: Maintains support for corporate proxy agents via HTTP_PROXY environment variable
  • Debug Logging: All proxy requests are logged for troubleshooting

The proxy is configured to work with Fineract endpoints as described in this section.

Testing the Proxy

To verify the proxy is working correctly, start the development server (ng serve) and test with curl:

Successful proxy request:

bash
curl -i "http://localhost:4200/fineract-provider/api/v1/runreports/FullClientReport?R_officeId=1&output-type=HTML&R_loanOfficerId=-1"

Expected: HTTP 200 response with proxied data from the demo environment. Server console shows:

[Proxy] Proxying: GET /fineract-provider/api/v1/runreports/... -> https://demo.mifos.community/api/v1/runreports/...

Simulated proxy error (backend unreachable):

If the backend is unreachable or returns an error, the proxy returns HTTP 502:

bash
# Stop your Fineract backend (if using localhost) or test with an invalid target
# The proxy will log the error and return:

Server console (example):

[Proxy] Error while proxying request: GET /fineract-provider/... -> https://demo.mifos.community - ECONNREFUSED

HTTP response:

http
HTTP/1.1 502 Bad Gateway
Content-Type: text/plain

Proxy error: connect ECONNREFUSED

Configuration Options

Environment Variables for Docker

All these environment variables can be set when using Docker or Docker Compose:

Fineract Backend Settings

Variable Description Default Value
FINERACT_API_URLS Fineract server list https://demo.mifos.community,https://localhost:8443
FINERACT_API_URL Default Fineract server https://localhost:8443
FINERACT_API_ACTUATOR Default Fineract Actuator endpoint /fineract-provider
FINERACT_PLATFORM_TENANT_IDENTIFIER Default tenant identifier (must align with Fineract tenants table) default
FINERACT_PLATFORM_TENANTS_IDENTIFIER Tenant identifier list (must align with Fineract tenants table) -

Language Settings (i18n)

Variable Description Default Value
MIFOS_DEFAULT_LANGUAGE Default language en-US
MIFOS_SUPPORTED_LANGUAGES List of supported languages cs-CS,de-DE,en-US,es-MX,fr-FR,it-IT,ko-KO,lt-LT,lv-LV,ne-NE,pt-PT,sw-SW

Date and Datetime Format Settings

Variable Description Default Value
MIFOS_DEFAULT_FORMAT_DATE Default date format for the application dd MMMM yyyy
MIFOS_DEFAULT_FORMAT_DATETIME Default datetime format

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptangular-7angular-material-7hacktoberfestmifosx-platform

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架