Skip to content

YUVRAJRANA10/PrepVault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrepVault 🔐

A community-driven interview experience vault. Browse, filter, and share real interview experiences from top companies.


Prerequisites

Make sure you have these installed:

  • Node.js (v18 or above)
  • npm (comes with Node.js)

Project Structure

PrepVault/
├── prepvault-backend/    ← Express API (Port 5000)
└── prepvault-frontend/   ← React + Vite app (Port 5173)

Setup & Run

1. Clone the repo

git clone <your-repo-url>
cd PrepVault

2. Backend

cd prepvault-backend
npm install

Create a .env file inside prepvault-backend/:

PORT=5000

Create the logs folder (required for logger middleware):

mkdir logs

Start the backend:

npm run dev

Backend runs at → http://localhost:5000


3. Frontend

Open a new terminal, then:

cd prepvault-frontend
npm install
npm run dev

Frontend runs at → http://localhost:5173


API Routes

Method Route Description
GET /api/experiences Get all experiences
POST /api/experiences Submit a new experience
PUT /api/experiences/:id Update an experience
DELETE /api/experiences/:id Delete an experience
GET /api/analytics/difficulty-summary Difficulty breakdown
GET /api/analytics/common-questions/:company Top questions by company

Tech Stack

  • Backend — Node.js, Express.js v5, fs/promises, Morgan, dotenv
  • Frontend — React (Vite), React Router, Framer Motion, Axios
  • Storage — JSON file (data/experiences.json)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors