PeerPrep is a novel and groundbreaking solution that aims to bring about a paradigm shift in technical interview preparation. Achieving a coveted position in the technology sector in the current competitive job market frequently necessitates the mastery of complex technical interviews. Nevertheless, Preparing for these interviews can induce apprehension and seclusion. In response to this difficulty, we introduce PeerPrep. This interactive digital environment facilitates the gathering of students, enabling them to engage in collaborative training of whiteboard-style interview inquiries with their fellow students.
PeerPrep aims to enable individuals aspiring to excel in technical interviews by providing a collaborative and encouraging environment conducive to preparation. Our platform fulfils several fundamental goals:
PeerPrep matches users with peers with similar categories and difficulty levels, which guarantees that individuals will have the opportunity to participate in fruitful practice sessions with companions who possess similar objectives, thereby establishing an optimal learning environment.
Users can participate in live joint coding sessions via PeerPrep, which emulates the format of whiteboard interviews frequently encountered in technology job evaluations.
PeerPrep provides more than a mere practice platform; it cultivates a dynamic community comprising technology aficionados and individuals seeking employment. It promotes exchanging information, networking, and emotional support among its members.
- Prerequisites
- Getting Started
- Setting Up Microservices for Development
- Accessing the Deployed Version
To clone the project, use the following command:
git clone git@github.com:CS3219-AY2324S1/ay2324s1-course-assessment-g34.git
Ensure you have Docker installed on your system. If not, you can download and install it from here.
Create a .env
file in the root of the project with the following contents:
DATABASE_NAME=user-service
DATABASE_HOST=postgres-db
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_PORT=5432
DJANGO_DEBUG=True
SECRET_KEY=YYxpC02owm1B/E3MQV87rw==
DJANGO_SECRET_KEY=YYxpC02owm1B/E3MQV87rw==
- The SECRET_KEY should be a base64-encoded key, which you can generate from this website.
You can run the project by entering the root of the project directory and executing the following command:
docker-compose up
To stop the containers, use:
docker-compose down
- Docker does not support Next.js hot reloading. To see changes made in the code, stop the services and run
docker-compose up --build
again.
Migrations need to be performed only the first time the containers are run. After the containers are running, open another shell and enter the user-service
shell with the following commands:
docker-compose exec user-service sh
Then, run the following commands to make and apply migrations:
python manage.py makemigrations
python manage.py migrate
You can access the deployed version of the project at this url: https://peerpreparing.com/