Bahmni Connect front end is completely based off AngularJS. It doesn't have any server component to it. Instead, it calls the REST API of OpenMRS/Bahmni.


AngularJS requires the following tool tree installed on your development machine.

Use following instructions (the exact mechanism for doing step 1 would depend on the OS you are using, we have mentioned for mac).

  1. Install Xcode and npm
  2. Install the following modules required globally (This is a one time task)

    npm install -g bower
    npm install -g grunt-cli
    gem install compass


  3. Checkout the bahmni-connect repository on GitHub

    You would have to run the following commands for Bahmni Connect front end project. Run these commands from the ui folder under Bahmni Connect front end project

    # Install node dependencies (Installed into node_modules).
    npm install
    # Set up UI component/dependencies (This installs all the UI dependencies into app/components)
    bower install


  4. Checkout the bahmni-offline repository on GitHub. (Only require for android app)
  5. Run this command from Bahmni connect front end project folder for creating a symlink into your vagrant /var/www:

    # links dist folder
    ./scripts/vagrant-link.sh


Chrome App (PWA):


PWA only works for  secure connection. That means, you need https connection to use PWA. Also, Google Chrome is the only recomended browser to use PWA.


Android App: