A full-stack AI interview preparation platform built with the MERN stack and Gemini AI.
- 🎯 Role-based questions — SDET, SDE, Full Stack
- 🎙 Voice input using Web Speech API
- 📄 Resume PDF upload for personalised AI feedback
- 🤖 AI-generated questions, hints, and model answers
- 💬 Follow-up chat with AI coach after feedback
- 📊 Analytics dashboard — score trends, weak topics, strong topics
- 📋 Session history with filters and question bank (save favourites)
- 🏋 Full mock interview mode (5 questions)
- Frontend: React.js, Recharts, React Dropzone
- Backend: Node.js, Express.js
- Database: MongoDB + Mongoose
- AI: Google Gemini 1.5 Flash API
- Voice: Web Speech API (browser native)
- PDF: pdf-parse
- Auth: JWT
- Go to aistudio.google.com
- Click "Get API Key" — completely free, no card needed
cd backend
npm install
# Update .env with your GEMINI_API_KEY and MONGO_URI
npm run devcd frontend
npm install
npm startPORT=5001
MONGO_URI=mongodb://localhost:27017/prepai
JWT_SECRET=your_secret_key_min_32_chars
GEMINI_API_KEY=your_gemini_api_key
CLIENT_URL=http://localhost:3000