- Rename
.env.samplefile to.env. - Create a Cloud DB URL using Mongo Atlas.
- Enter the DB URL created as
DB_CLOUD_URIin.envfile - Set the following variables in the env file:
ENV="PROD"andORIGIN_URL="localhost:3000" - Install npm packages using
npm i. - Run User Service using
npm run dev.
- 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"andQUESTION_SERVICE_URL="http://localhost:8003" - Install npm packages using
npm i. - Run Frontend using
npm start.
- Add the file
.env. to the root of the matching-service folder - Create a Postgresql database locally
- Add the following database details to the
.envfile:PG_DB_NAME,PG_USER,PG_PASSWORD,PG_HOST - Configure the frontend URL as
ORIGIN_URLin the.envfile as "localhost:3000" - Install npm packages using
npm i. - Run Matching Service using
npm start.
- 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_URIin.envfile - Set the following variables in the env file:
ENV="PROD"andORIGIN_URL="localhost:3000" - Install npm packages using
npm i. - Run Question Service using
npm start.
- Install npm packages using
npm i. - Run Collab Server using
npm start.
- 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_URIin.envfile. - Set the following variables in the env file:
PORT=8002,ENV="PROD"andORIGIN_URL="localhost:3000" - Install npm packages using
npm i. - Run Learning Pathway Service using
npm start.