description |
---|
This page details how to install and start the frontend |
- Node.js is required
- https://nodejs.org/en/download/
- Download the latest installer for your device and follow the instructions given
- To verify if Node is installed: "$npm -v" into terminal. At the time of development for this project the version installed is 6.14.14
- Download project files
- cd into SoundFatigueVisualisation on your terminal
- $cd frontend
- $npm install
- At this stage double-check the API is running
- view the API at "http://127.0.0.1:8000" or a different local link depending on what port the Uvicorn is running at.
- If an ERR_CONNECTION_REFUSED is shown then API is not running and need to double-check Running the backend
- $npm start
- Node should then display the webpage on your device. Good to go!