PeerPrep: https://peerprep.vercel.app
To run the service locally:
- Create a
.envand populate the following variable:
DB_LOCAL_URI=
- Create a Redis server which listens to port
6380 - Install npm packages using
npm i. - Run History Service using
npm start.
To run the service locally:
- Create
.envfile
REACT_APP_CHAT_SERVICE_CLOUD_ENDPOINT = *REDACTED*
REACT_APP_USER_SERVICE_CLOUD_ENDPOINT = *REDACTED*
REACT_APP_MATCHING_SERVICE_CLOUD_ENDPOINT = *REDACTED*
REACT_APP_QUESTION_SERVICE_CLOUD_ENDPOINT = *REDACTED*
REACT_APP_COLLABORATION_SERVICE_CLOUD_ENDPOINT = *REDACTED*
REACT_APP_HISTORY_SERVICE_CLOUD_ENDPOINT = *REDACTED*
REACT_APP_CHAT_SERVICE_LOCAL_ENDPOINT = "http://localhost:8080"
REACT_APP_USER_SERVICE_LOCAL_ENDPOINT = "http://localhost:8000/api/user"
REACT_APP_MATCHING_SERVICE_LOCAL_ENDPOINT = "http://localhost:8001"
REACT_APP_QUESTION_SERVICE_LOCAL_ENDPOINT = "http://localhost:8002/api/questions"
REACT_APP_COLLABORATION_SERVICE_LOCAL_ENDPOINT = "http://localhost:8008"
REACT_APP_HISTORY_SERVICE_LOCAL_ENDPOINT = "http://localhost:8003/api/history"
- Install npm packages using
npm i. - Run Frontend using
npm start, which it will use all theLOCALvariables
To run the service locally:
- Create a
.envfile with a lineLOCAL_DB_URL="mongodb://localhost:27017/questionsDb"in thehistory-servicefolder. - Install npm packages using
npm i. - Run History Service using
npm start.
To run the service locally:
- Install npm packages using
npm i. - Run History Service using
npm start.
- Please note that an
SQLitedatabase would be created.
To run the services locally:
- Start a Local Redis server which listens to port
6379. - Install npm packages using
npm i. - Run Collaboration Service using
npm start.
To run the services locally:
- Install npm packages using
npm i. - Run Chat Service using
npm start.
To run the services locally:
- Create local Redis server that listens to port
6379 - Create
.envfile and populate following variables:
LOCAL_DB_URL
- Install npm packages using
npm i. - Run Question Service using
npm start.