nestauk / health_mosaic_ui

Health Mosaic User Interface
MIT License
0 stars 0 forks source link

Health Innovation Scanner

Mapping health innovation globally for the Robert Wood Johnson Foundation.

Build instruction

For local development:

Test

To run all tests:

npm run test

To run tests in a specific file:

npm run test -- path/to/a/file.test.js

For example:

npm run test -- src/util/array.test.js

Statecharts

There are some commands that you can run to copy the state machine configurations to your clipboard allowing you to visit the xstate visualiser and paste the configuration into the window and see a preview of that machine.

To copy the screen_machine configuration to your clipboard run the following command:

npm run copy:screen

To copy the search_machine configuration to your clipboard run the following command:

npm run copy:search

ElasticSearch introspection

Use the BASE_URL you find in the src/config.js, with the VPN enabled if you get any permission error.

  "version" : {
    "number" : "6.4.2",
  },

Schema