Frontend for FASS built with React.
To get a local copy up and running follow these steps.
Ensure you have the latest versions of nvm and npm, visit https://nodejs.org/en/download for more details.
- Switch to the appropriate branch If you are running the application locally, then switch to the "reduced_household_request" branch. If you are running the application in a production environment, then switch to the "staging" branch.
git checkout reduced_household_request - Change directory to fass-react
cd fass-react - Run npm install for node dependencies
npm install - Navigate to client.js
cd src
cd shared
nano client.js #any code editor is fine- Change line 3 of client.js to baseURL: 'http://127.0.0.1:8000/api'. (this is assuming you have the backend running locally at localhost)
- Run npm run dev to open the frontend on localhost
npm run dev- For more information on usage, please read this User Guide