Skip to content

PeerPrep: Your platform for mastering technical coding interviews through practice with strangers!

License

Notifications You must be signed in to change notification settings

ngquyduc/peerprep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeerPrep

Note

This is the instructions to set up and run the PeerPrep services for local development/testing for Assignments grading

Pre-requisites

  • Ensure you have Docker installed on your machine. If not, follow this link to install Docker Desktop.
  • Ensure you have followed the instructions in the Set up section bellow before proceeding further

Set up environment variables

Please proceed to download secrets files submitted on Canvas to set up environment variables for the services.

For assignment purposes

Question service (assignment/question-service)

  • Create a .env file in the root directory of the assignment/question-service folder
  • Copy the contents of the question-service-env file from into the .env file
  • Your file should look like this:
MONGODB_URL=
JWT_SECRET=

User service

  • Create a .env file in the root directory of the assignment/user-service folder
  • Copy the contents of the user-service-env file from into the .env file
  • Your file should look like this:
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=

Important

For any missing environment variables, please contact the team to retrieve the secrets

For project purposes

Question service (project/question-service)

  • Create a .env file in the root directory of the project/question-service folder
  • Copy the contents of the question-service-env file from into the .env file
  • Your file should look like this:
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=

User service

  • Create a .env file in the root directory of the project/user-service folder
  • Copy the contents of the user-service-env file from into the .env file
  • Your file should look like this:
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=

Important

For any missing environment variables, please contact the team to retrieve the secrets

Run

Run the services

About

PeerPrep: Your platform for mastering technical coding interviews through practice with strangers!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.6%
  • HTML 2.2%
  • CSS 1.3%
  • Dockerfile 0.9%