An AI-powered mock interview platform built with React frontend and Node.js backend. Uses Groq API for real-time question generation based on job description and resume analysis.
- Frontend: React
- Backend: Node.js, Express
- AI: Groq API
- File Processing: Multer, PDF-parse
- Voice: Text-to-speech/speech-to-text
- Node.js (v14+)
- Groq API key
- Clone and install dependencies
git clone <repo-url>
cd ai-mock-interview-platform
# Backend
cd backend
npm install
# Frontend
cd ../frontend
npm install- Environment Setup
Create
.envin backend directory:
PORT=5000
GROQ_API_KEY=your_groq_api_key_here
MONGODB_URI=your_mongo_db_uri_here
JWT_SECRET=your_jwt_secret_here
GROQ_MODEL=specify_the_groq_model_here
GROQ_API_URL=specify_the_groq_api_url_here- Start Backend
cd backend
npm start- Start Frontend
cd frontend
npm start- Upload PDF resume
- Enter job description
- Start AI-powered interview
- Answer questions via voice/text
- Review transcript
POST /api/upload- Upload resume and job descriptionPOST /api/interview/start- Start interview sessionPOST /api/interview/next- Get next questionPOST /api/interview/end- End interview
- Dynamic question generation
- PDF resume parsing
- Voice interaction
- Interview transcript
- Context-aware follow-ups