Skip to main content

UI Dev

In the super directory, go to the frontend directory.

Running the UI with the Mock API

super/frontend $ REACT_APP_API=mock yarn start

The UI will start on port localhost:3000. React scripts will auto open a browser. The UI will update in real time as code changes are made.

Point the UI to your API

super/frontend $ REACT_APP_API=http://192.168.2.1 yarn start

Run the tests

super/frontend $ yarn test