Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.73 KB

README.md

File metadata and controls

62 lines (49 loc) · 2.73 KB

Review Assignment Due Date

Instructions for Assignment 1

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:

How to Run

Backend

  1. Enter Question service directory cd .\backend\question-service\
  2. run npm install
  3. run npm run dev

Frontend

  1. Enter Frontend directory cd frontend
  2. run npm install
  3. run npm run dev
  4. Access site at the specified url (http://localhost:8080/)

Instructions for Assignment 2

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:

How to Run

Backend

  1. Enter Question service directory cd .\backend\question-service\
  2. run npm install
  3. run npm run dev
  4. Enter User service directory cd .\backend\user-service\
  5. run npm install
  6. run npm run dev

Frontend

  1. Enter Frontend directory cd frontend
  2. run npm install
  3. run npm run dev
  4. Access site at the specified url (http://localhost:8080/)

Instructions for Assignment 3

Steps to take to test for Assignment 3:

  1. Pull the branch on this repo titled Assignment-3-branch
  2. 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.

Backend

  • 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 yarn in the command line. Do this also for the frontend directory.
  • Next type yarn run dev in the terminal in the user service directory and question service directory.

Frontend

  • In the terminal, cd to the frontend directory, and type yarn.
  • Next type yarn run dev in the terminal in this same directory.
  • Access site at the specified url (http://localhost:8080/)