Full Stack AI-Powered Interview Prep App with MERN Stack
Build a full-stack AI-powered Interview Preparation application using MongoDB, Express, React, and Node.js. Integrates Google Gemini API to automatically generate role-based technical interview questions and on-demand concept explanations. Features JWT authentication, pinnable Q&A cards, accordion learning UI, session management, and a clean responsive dashboard — a standout AI-integrated MERN project for your portfolio.
What You'll Build
What You'll Learn
Video Chapters
Tech Stack
Frequently Asked Questions
Do I need a paid Google Gemini API account?
No — Google Gemini offers a free tier with generous request limits that are more than sufficient for building and testing this project. You just need a Google account to generate a free API key from Google AI Studio.
How are the AI-generated questions tailored to a specific role?
When creating a session, the user inputs their target job role and experience level. These are sent to the Express backend, which constructs a structured prompt and calls the Gemini API. The returned questions are then saved to MongoDB and displayed in the session.
Why is the Gemini API called from the backend instead of directly from React?
Calling the Gemini API from the frontend would expose your API key in the browser — a major security risk. The Express backend acts as a secure proxy, keeping the API key in the server's .env file and out of the client.
What is the concept explanation feature?
On any Q&A card, users can request a deeper breakdown of the concept behind the question. This triggers a second Gemini API call with a focused explanation prompt, and the response is rendered inline below the question in the accordion UI.
What prior knowledge do I need?
Intermediate MERN experience is recommended — auth with JWT, React context, and Express API design. Having completed a project like the Notes App or Travel Story App will make the first half straightforward. The AI integration section is covered from scratch.
What is included in the source code?
You get the full React frontend, Express backend, three Mongoose schemas (users, sessions, questions), AI API utility functions, a .env.example with all required keys, and a README with local setup and deployment instructions.
