The following command will start the development server which communicates with a DHIS2 instance (make sure to run yarn install
first).
npm start
You will need to add http://localhost:8081
url to your DHIS2 CORS whitelist (this can be done in the settings app).
{
"activities": {
"dhis": {
"href": "http://localhost:8080/dhis"
}
}
}
To build a production version of the application run the following command.
npm run build