/custom-dashboard-poc

A proof of concept implementation of custom dashboard front-end code.

Primary LanguageJavaScript

CommCare Custom Dashboard PoC

A tiny react app demonstrating how you could embed custom JavaScript in CommCare HQ.

To install:

  1. Clone this repository in custom-dashboards in CommCare HQ's codebase
  2. Build front end for production as per below.

Building front-end

To build JavaScript and CSS files, first install npm packages:

npm install

Then to build (and watch for changes locally) just run:

npm run dev-watch

Or to build for production

npm run build