Skip to content

mnemonic-no/act-frontend

Repository files navigation

ACT Frontend

This is the frontend for the ACT platform.

ACT Graph view

There is also a table view where you can export the data.

ACT Table view

Installation

git clone https://github.com/mnemonic-no/act-frontend.git

Install dependencies

You will need to have installed yarn or npm

yarn install

Run the development server

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

Deploy

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

Storybook is configured for the project in order to develop UI components in isolation.

yarn storybook

Releases

No releases published

Packages

No packages published