This project has been ported over to another repository for maintenance. As a result, this repo will be archived and made read-only.
Welcome! This document details the setting up of a development environment. The project uses the following frameworks:
-
Clone the project
cd into the location you would like to clone the project to
run this command on terminal:
git clone https://github.com/GovTechSG/govt-review-frontend -
Configure project
cd into the root directory of the project
run these commands on terminal:
npm install -
Test run
Ensure that the backend is running first on http://localhost:3000/.
Then in the project root directory of the frontend,
-
Test if the project is setup properly:
npm start -
open http://localhost:5000/ on your browser. you should see a login page.
-
Login with credentials:
username: bgp password: test12 -
If authentication fails, check that the backend is running and that the database has been seeded
-
-
Sanity Check
-
To run sanity check, run:
npm test npm run eslint
-