Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Interview Prep Planner

A full-stack application that generates a day-wise coding interview preparation plan tailored to a specific company, role, and interview date.

Live Demo


Architecture

The project consists of two main parts:

  1. Frontend: A React + Vite web application featuring a modern, dark glassmorphic UI.
  2. Backend: A lightweight Java 17+ backend service that aggregates data from multiple sources to curate the study plan.

Data Sources & Scoring

POST /generate-plan
       │
       ├─► GitHub (snehasishroy/leetcode-companywise-interview-questions)
       │         Company .csv files → parse LeetCode titles → score = 1
       │
       ├─► Tavily API (Real-time web search)
       │         Recently asked questions → score = 3
       │
       ├─► Merge + De-duplicate + Score
       │         Same problem in both sources → score = 1 + 3 = 4
       │         Sort by score DESC
       │
       └─► Distribute across days → Return InterviewPlan JSON to Frontend

Quick Start

You'll need two terminal windows to run both the backend and frontend simultaneously.

1. Backend Setup

The backend runs on Java 17+ and Maven 3.8+.

cd backend

# Build the project
mvn clean package

# Run the server (starts on http://localhost:8080)
java -jar target/interview-planner.jar

Note on API Keys: The backend requires a Tavily API key to fetch recent questions. It is configured in backend/src/main/java/com/interviewplanner/config/AppConfig.java. If the key is missing, the backend will gracefully fall back to only using the GitHub dataset.

2. Frontend Setup

The frontend is built with React, Vite, and absolute vanilla CSS (no Tailwind needed!).

cd frontend

# Install dependencies
npm install

# Start the dev server (starts on http://localhost:5173)
npm run dev

Open http://localhost:5173 in your browser.


API Reference (Backend)

The backend provides a RESTful API:

POST /generate-plan

Payload:

{
  "company": "google",
  "role": "software engineer",
  "interviewDate": "2026-05-01"
}

GET /health

Returns { "status": "UP" } to indicate the server is running. Used by the frontend's "Server Online" badge.


Features

  • Modern UI: Dark mode, glassmorphism, dynamic gradients, and smooth animations.
  • Smart Scoring: Prioritizes problems that are historically common and recently asked.
  • Interactive Dashboard: Track your daily progress with interactive checkboxes.
  • Local Persistence: Checked problems are saved to your browser's localStorage.
  • Lightweight: The Java backend uses the built-in HttpServer (zero bloated frameworks).

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages