AIInterviewPro is an AI-driven mock interview and English practice platform that helps users prepare for technical and behavioral interviews through real-time AI simulations, personalized feedback, and voice-based interactions.
- Interview Mode: Simulates a real interview environment with AI asking questions and giving instant feedback.
- English Practice: Speak with an AI English coach that corrects your grammar, fluency, and pronunciation.
- Topic/Question Practice: Focused practice sessions on specific topics or question sets.
- Integrated Speech-to-Text (STT) and Text-to-Speech (TTS) using Deepgram for seamless voice-based communication.
- Full conversation transcripts are saved for review after each session.
- Receive detailed performance feedback after each interview.
- Access your complete interview history anytime to analyze growth and improvement.
- Users receive credits on signup, which are consumed during interactions.
- Managed using Firebase Authentication and Firestore for real-time tracking.
- Built with Next.js, Tailwind CSS, and Shadcn UI for a fast, elegant, and consistent experience across all devices.
| Category | Technologies Used |
|---|---|
| Frontend | Next.js, JavaScript, Tailwind CSS, Shadcn UI |
| Backend / Database | Firebase (Auth + Firestore), Stack Auth |
| AI / NLP | Gemini API (via OpenRouter) |
| Speech Processing | Deepgram (STT/TTS) |
| Real-Time Communication | WebSocket |
| State Management | React Hooks, Context API |
| Version Control | Git, GitHub |
-
Clone the repository
git clone https://github.com/devkushwah/Mock-Interview-Preparation-Sytem.git
-
Install dependencies
npm install
-
Set up environment variables
Create a.env.localfile and add:# Stack Auth (for authentication) NEXT_PUBLIC_STACK_PROJECT_ID=your_stack_project_id NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=your_stack_publishable_client_key STACK_SECRET_SERVER_KEY=your_stack_secret_server_key # Firebase (Auth + Firestore + Database) NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_key NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_bucket NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=your_measurement_id # Speech Processing NEXT_PUBLIC_DEEPGRAM_API_KEY=your_deepgram_key DEEPGRAM_API_KEY=your_deepgram_key # AI / NLP NEXT_PUBLIC_OPENAI_ROUTER_KEY=your_openrouter_key NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_key NEXT_PUBLIC_GEMINI_MODEL=gemini-1.5-pro
-
Run the development server
npm run dev
-
Open in browser
http://localhost:3000
- User selects a mode (Interview / English Practice / Topic Practice).
- App connects with AI backend (Gemini API via OpenRouter).
- Voice input processed via Deepgram STT → AI generates response → Speech output via TTS.
- Full conversation + feedback stored in Firebase.
- User can revisit and analyze past sessions anytime.
This project is open-source and available under the MIT License.
Pull requests are welcome!
For major changes, please open an issue first to discuss what you’d like to change.
Dev Kushwah
📧 devkushwah880@gmail.com
⭐ If you like this project, don’t forget to star the repo!