Members: Pham Chau Giang, Fong Yi Fei, Le Quoc Huy, Hoang Le Tri Cuong, Guo Qi
- From the root folder, navigate to the
backend
folder - Run the command
npm install
- Make sure the
.env
file containing the MongoDB URI is in thisbackend
folder - Run the command
npm run start
- Open your browser and go to the address http://localhost:3001/
- The app is now running locally, and connected to an online MongoDB database
- From the root folder, navigate to the
backend\account-service
folder - Run the command
npm install
- Ensure the
.env
file containing the MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE is in thisbackend\account-service
folder - Ensure that you have MySQL Server installed and the service is running
- Run the command
npm run start
- Repeat steps 1 - 5 for the
backend\question-service
folder, with the .env file containing the MongoDB URI - Navigate to
frontend-react
- Run the command
npm install
- Run the command
npm start
- The app is now running locally at http://localhost:3000/
- Navigate to the
backend/account-service
folder - Run
npm install
- Make sure the include the
.env
file for assignment 3 in thisbackend/account-service
folder - Run the command
npm run dev
to start the account service - Navigate to the
backend/question-service
folder - Run the command
npm install
- Make sure the include the
.env
file for assignment 3 in thisbackend/question-service
folder - Run the command
npm run dev
to start the question service - Navigate to the
frontend-react
folder - Run the command
npm install
- Run the command
npm start
to start the front end. - The app is now running locally at http://localhost:3000/
- Make sure the include the
.env
file for assignment 4 in the following folders:backend/account-service
,backend/question-service
- Install Docker Desktop if you haven't
- Login to Docker
- Navigate to the root project folder
- Run the command
docker login
in the terminal - Run the command
docker compose up --build
in the terminal - The app is now running locally at http://localhost:3000/
- Make sure the include the
.env
file for assignment 5 in the following folders:backend/ai-service
,backend/account-service
,backend/question-service
,backend/collab-service
,backend/matching-service
- Install Docker Desktop if you haven't
- Login to Docker
- Navigate to the root project folder
- Run the command
docker login
in the terminal - Run the command
docker compose up --build
in the terminal - The app is now running locally at http://localhost:3000/
Our main application can be accessed via the following link: https://frontend-g5qibfavfa-uc.a.run.app
- Follow Assignment 5, Quick Start step 1. Additionally, make sure to include the
.env
file for final submission in the following folders: root folder,frontend-react
- Install Docker Desktop if you haven't
- Login to Docker
- Start Docker Desktop
- In your terminal, go to the root project folder
- (Optional) Log into docker using the command
docker login
in the terminal - Type
docker compose up –-build
and run the command - After all the containers have started, visit http://localhost:3000/ to access our application
- Follow step 1 in Local Deployment
- In the terminal, run the command
npm install
in both the root folder and thebackend/question-service
folder - Navigate to the root folder, and run the command
npm run test
Testing is automatically done when pushing to the repo or merging a Pull Request.