Skip to main content
Get the CS Interview Prep Platform running locally and start your first interview session.
1

Clone the Repository

git clone https://github.com/pranav9989/be.git
cd be
2

Backend Setup

Create and activate a virtual environment:
python -m venv myenv
myenv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
3

Environment Configuration

Create a .env file in the root directory:
.env
MISTRAL_API_KEY=your_mistral_api_key_here
SECRET_KEY=your-secret-key-here
JWT_SECRET_KEY=your-jwt-secret-here
Get your Mistral API key from console.mistral.ai
4

Build Knowledge Base

Prepare and index the knowledge base:
python scripts/prepare_kb.py
python scripts/reindex_mistral.py
This creates the FAISS vector index for DBMS, OOP, and OS topics.
5

Frontend Setup

In a new terminal, navigate to the frontend directory:
cd frontend
npm install
6

Start the Application

Terminal 1 - Backend:
python backend/app.py
Terminal 2 - Frontend:
cd frontend
npm start
The app will open at http://localhost:3000
7

Create Your Account

  1. Click Sign Up
  2. Fill in your details (username, email, password, full name)
  3. Log in with your credentials
8

Start Your First Session

Choose from:
  • Mock Interview: Resume-based personalized questions
  • Technical Q&A: Practice DBMS, OOP, or OS concepts
  • Coding Practice: SQL and Pandas problem solving

What’s Next?

Upload Your Resume

Get personalized interview questions based on your experience

Explore Features

Discover all platform capabilities

Track Your Progress

Monitor mastery levels and improvement

API Reference

Explore the API endpoints
The platform tracks your performance across topics and adapts question difficulty automatically. The more you practice, the smarter it gets!

Build docs developers (and LLMs) love