Giter Site home page Giter Site logo

nayan / community-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openmf/community-app

1.0 1.0 0.0 33.88 MB

This is the default web application built on top of the MifosX platform for the mifos user community. It is a Single-Page App (SPA) written in web standard technologies like JavaScript, CSS and HTML5. It leverages common popular frameworks/libraries such as AngularJS, Bootstrap and Font Awesome

Home Page: http://openmf.github.io/community-app/

JavaScript 84.56% CSS 15.32% Groovy 0.12%

community-app's Introduction

Online Demo

Access the online demo version here

Building from source

  1. Note: Ensure you have npm installed - goto http://nodejs.org/download/ to downloand installer for your OS.

  2. Clone this repository to your local filesystem (default branch in 'master')

  3. To download the dependencies, and be able to build, first install bower & grunt:

npm install -g bower
npm install -g grunt-cli
  1. Next pull the runtime and build time dependencies by running bower and npm install commands on the project root folder:
 "bower install"
 "npm install" 
  1. Now open the 'index.html' file in FIREFOX browser.

  2. Default username/password: mifos/password. This application will hit the demo server by default.

You are done.

Out of the box, the UI will connect to the mifosng-provider REST API running on the same host/port (API_URL_OVERRIDE === 'false'). If you want to connect to the API running elsewhere, e.g. the https://demo.openmf.org running in the cloud, e.g. so that someone with only JS skills who couldn't be bothered about having to set up the platform back-end locally can work on the UI, modify the constant in community-app\app\scripts\modules\configurations.js as below:

.constant('API_URL_OVERRIDE', 'true')
.constant('HOST','https://demo.openmf.org')
.constant('API_VERSION','/mifosng-provider/api/v1')

Similarly, to connect to a local server running on a different port than the web app on localhost, use:

.constant('API_URL_OVERRIDE', 'true')
.constant('HOST','https://localhost:8443\:8443') // need to escape port number

Later, it may be possible to specify the baseApiUrl as part of the app's URL, watch Issue 199 (help/pull requests most welcome!).

Adding dependencies

You can also add more dependencies on bower.json. You can search for them in http://sindresorhus.com/bower-components/ or even:

bower search <package>

Running the tests

Just open test/SpecRunner.html in the browser.

community-app's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.