Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.99 KB

README.md

File metadata and controls

74 lines (47 loc) · 1.99 KB

LeetWithFriend

LeetWithFriend at https://leetwithfriend.com/ [Note: Due to rising costs, the deployment on Google Cloud Platform has been paused.]

  • An interview preparation platform and peer matching system, where students can find peers to practice whiteboard-style interview questions together.

image

image

image

Architecture Overview

image

Development Guide

Spin up all the services for local manual testing

docker-compose -f docker-compose.local.yml up --build -d

Visit the frontend at http://localhost:80

To stop the services

docker-compose -f docker-compose.local.yml stop

Available seeded users for testing:

Username Password
qwe qwe
asd asd
zxc zxc

To make adjustments to only the frontend application:

Start other services at root

docker-compose -f docker-compose.frontend.yml up --build -d

Run npm run start in the frontend directory.

Visit the frontend at http://localhost:3000

To stop the services

docker-compose -f docker-compose.frontend.yml stop

User Service

  1. Rename .env.sample file to .env.
  2. Create a Cloud DB URL using Mongo Atlas.
  3. Enter the DB URL created as DB_CLOUD_URI in .env file.
  4. Setup dependencies via npm ci
  5. Install npm packages using npm i.
  6. Run User Service using npm run dev.

Frontend

  1. Setup dependencies via npm ci
  2. Install new npm packages using npm i.
  3. Run Frontend using npm start.