This is a repository for the CS3219 PeerPrep31 project.
Project report: https://docs.google.com/document/d/1lMmKNzSaULcGdDKGaeeYchcasFEc6UAYVqZ8sBm4V9w/edit?usp=sharing
Team members:
- Pham Ba Thang (A0219715B)
- Nguyen Ba Van Nhi (A0219736W)
- Muhammad Radhya Fawza (A0219709W)
- Victor Chen (A0261266E)
Make sure that you have MongoDB installed and running on your machine
- Change directory using
cd ./user-service
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. - Install npm packages using
npm i
. - Run User Service using
npm run dev
.
- Change directory using
cd ./matching-service
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. - Install npm packages using
npm i
. - Run Matching Service using
npm run dev
.
Make sure that you have Redis installed and running on your machine
- Change directory using
cd ./collaboration-service
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. You can getJDOODLE_CLIENT_ID
andJDOODLE_CLIENT_SECRET
by registering here - Install npm packages using
npm i
. - Run Collaboration Service using
npm run dev
.
Make sure that you have Redis installed and running on your machine
- Change directory using
cd ./communication-service
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. - Install npm packages using
npm i
. - Run Communication Service using
npm run dev
.
Make sure that you have MongoDB installed and running on your machine
- Change directory using
cd ./question-service
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. - Install npm packages using
npm i
. - Run Question Service using
npm run dev
.
Make sure that you have MongoDB installed and running on your machine
- Change directory using
cd ./history-service
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. - Install npm packages using
npm i
. - Run Question Service using
npm run dev
.
- Change directory using
cd ./frontend
- Rename
.env.sample
file to.env
and change the environment variables based on your own environment. - Install npm packages using
npm i
. - Run Frontend using
npm start
. - Visit the application at
http://localhost:3000
- Make sure that you have docker and docker-compose installed on your machine.
- From the root directory, run
docker-compose up -d
to build and run the application. - Visit the application at
http://localhost:3000