This is the frontend for the ACT platform.
There is also a table view where you can export the data.
git clone https://github.com/mnemonic-no/act-frontend.git
You will need to have installed yarn or npm
yarn install
Before you can run the app, you have to configure it. During development, the app reads in a config file in
src/config.override.json
where you can override settings found in config.json
.
Copy the config.override.json.template
to config.override.json
and set the relevant API URL for your development
environment.
{ "apiUrl": "http://YOUR-API-SERVER-HERE/" }
Currently, access control is hard coded, if necessary edit actUserId
Change the banner
property if you want to add a visual indication of the current environment. This can be useful if
you run multiple instances of ACT. Note that the banner and each of its parameters are optional.
Run development server with:
yarn start
Edit the config.json to reflect your production environment, i.e set the apiUrl for the ACT backend.
yarn build
This will create a folder build/
with static files ready to be deployed.
Storybook is configured for the project in order to develop UI components in isolation.
yarn storybook