You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter the DB URL created as DB_CLOUD_URI in .env file
Set the following variables in the env file: ENV="PROD" and ORIGIN_URL="localhost:3000"
Install npm packages using npm i.
Run User Service using npm run dev.
Frontend
Add the file .env. to the root of the frontend folder
Set the following variables in the env file: USER_SERVICE_URL="http://localhost:8000", SOCKET_URL="http://localhost:8001/", LEARNING_SERVICE_URL="http://localhost:8002" and QUESTION_SERVICE_URL="http://localhost:8003"
Install npm packages using npm i.
Run Frontend using npm start.
Matching Service
Add the file .env. to the root of the matching-service folder
Create a Postgresql database locally
Add the following database details to the .env file: PG_DB_NAME, PG_USER, PG_PASSWORD,PG_HOST
Configure the frontend URL as ORIGIN_URL in the .env file as "localhost:3000"
Install npm packages using npm i.
Run Matching Service using npm start.
Question Service
Add the file .env. to the root of the question-service folder
Create a Cloud DB URL using Mongo Atlas.
Enter the DB URL created as DB_CLOUD_URI in .env file
Set the following variables in the env file: ENV="PROD" and ORIGIN_URL="localhost:3000"
Install npm packages using npm i.
Run Question Service using npm start.
Collab Server
Install npm packages using npm i.
Run Collab Server using npm start.
Learning Pathway Service
Add the file .env. to the root of the learning-pathway folder
Create a Cloud DB URL using Mongo Atlas.
Enter the DB URL created as DB_CLOUD_URI in .env file.
Set the following variables in the env file: PORT=8002, ENV="PROD" and ORIGIN_URL="localhost:3000"
Install npm packages using npm i.
Run Learning Pathway Service using npm start.
About
cs3219-project-ay2223s1-g43 created by GitHub Classroom