This is the repository for CS3219 project. Below are the deployed and local setup.
Visit the links and trust the certificates:
- https://matserv-env.eba-ei3vpcg2.ap-southeast-1.elasticbeanstalk.com/
- https://userservice-env.eba-p3j8behu.ap-southeast-1.elasticbeanstalk.com/
- https://webserv-env.eba-jwtv3m3g.ap-southeast-1.elasticbeanstalk.com/
- https://collab-env.eba-jd3df2b9.ap-southeast-1.elasticbeanstalk.com/
- https://quessvc-env.eba-2agrnkqm.ap-southeast-1.elasticbeanstalk.com/
Frontend: https://dj17yv8d2l9t3.cloudfront.net/
Before running any sub-folder
- Run a redis server locally
https://tableplus.com/blog/2018/10/how-to-start-stop-restart-redis.html
Apply this to the different sub-folders
- collaboration-service
- matching-service
- question-service
- user-service
- webcam-service
- Create
.envfile - Create a Cloud DB URL using Mongo Atlas (Only need to do this once)
In the .env file, copy and paste the following and replace the Cloud DB URL:
ENV=DEV
DB_LOCAL_URI={your_url}
- For user-service, add an additional attribute in
.envfile
SECRET_KEY ={anything that you want}
- Install npm packages for the respective services using
npm i. - Run the respective services using
npm run dev.
In the frontend sub-folder
- Install npm packages using
npm i. - Run
npm start.