We used a cloud database with mandatory IP whitelisting for this assignment.
Please contact one of us with your IP address in advance in order to access the database:
- Branson Lam @Bransonlj (telegram) [email protected] (email)
- Ang Yuze @angyuze (telegram) [email protected] (email)
- Enter Question service directory
cd .\backend\question-service\ - run
npm install - run
npm run dev
- Enter Frontend directory
cd frontend - run
npm install - run
npm run dev - Access site at the specified url (http://localhost:8080/)
We used a cloud database with mandatory IP whitelisting for this assignment.
Please contact one of us with your IP address in advance in order to access the database:
- Branson Lam @Bransonlj (telegram) [email protected] (email)
- Ang Yuze @angyuze (telegram) [email protected] (email)
- Enter Question service directory
cd .\backend\question-service\ - run
npm install - run
npm run dev - Enter User service directory
cd .\backend\user-service\ - run
npm install - run
npm run dev
- Enter Frontend directory
cd frontend - run
npm install - run
npm run dev - Access site at the specified url (http://localhost:8080/)
Steps to take to test for Assignment 3:
- Pull the branch on this repo titled Assignment-3-branch
- We will need to whitelist your IP address to ensure that you are able to test the user service and question service backends as we used a cloud database with mandatory IP whitelisting for this assignment. Please contact one of us with your IP address in advance in order to access the database:
- Branson Lam @Bransonlj (telegram) [email protected] (email)
- Ang Yuze @angyuze (telegram) [email protected] (email)
- Please note to not use NUS School wifi while testing due to some IP restrictions.
- For both the question service and user service backends, add the .env file, which is the submitted text file on canvas called Assignment3.txt.
- For the question service and user service in the backend directory, type
yarnin the command line. Do this also for the frontend directory. - Next type
yarn run devin the terminal in the user service directory and question service directory.
- In the terminal, cd to the
frontenddirectory, and typeyarn. - Next type
yarn run devin the terminal in this same directory. - Access site at the specified url (http://localhost:8080/)