Welcome to AI Preparation, a modern and interactive platform designed to help you prepare for technical mock interviews with the assistance of AI technologies. This platform utilizes AI-powered voice assistants, feedback systems, and personalized coaching to ensure you’re ready for any interview scenario.
- Authentication: Sign Up and Sign In using email/password authentication, managed by Firebase.
- Create Interviews: Effortlessly generate job interview questions with the help of VAPI AI Voice Assistant and Google Gemini.
- Get Feedback from AI: Conduct the interview with the AI voice assistant and receive instant feedback based on your conversation.
- Modern UI/UX: A sleek, intuitive, and user-friendly interface to ensure a smooth experience throughout your interview process.
- Interview Page: Participate in AI-driven interviews with real-time feedback and a detailed interview transcript.
- Dashboard: Manage, track, and review all your interviews from one central location with easy navigation.
- Responsiveness: Fully responsive design that ensures a seamless experience across all devices, from desktop to mobile.
- Code Architecture & Reusability: Built with scalability in mind for future enhancements and ease of maintenance.
- Next.js (Latest): A modern React framework for building fast and scalable web applications.
- VAPI AI: AI-powered voice assistant for interactive mock interviews.
- ShadCN/UI: A UI component library to provide a sleek and consistent design.
- Google Gemini: Advanced AI capabilities for intelligent feedback and coaching.
- Zod: Type-safe validation library for data integrity.
- Firebase: Provides user authentication and real-time database services.
- Tailwind CSS: A utility-first CSS framework for creating custom designs quickly.
To get started with the project, you need to configure environment variables for Firebase, VAPI, and Google Gemini. Follow the steps below:
-
Create a new file named
.env.localin the root directory of your project. -
Add the following environment variables to the
.env.localfile:
NEXT_PUBLIC_VAPI_WEB_TOKEN=
NEXT_PUBLIC_VAPI_WORKFLOW_ID=
GOOGLE_GENERATIVE_AI_API_KEY=
NEXT_PUBLIC_BASE_URL=
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
FIREBASE_PROJECT_ID=
FIREBASE_CLIENT_EMAIL=
FIREBASE_PRIVATE_KEY=""- Replace the placeholder values with your actual Firebase and VAPI credentials.
-
Clone this repository to your local machine.
git clone https://github.com/thedarkking01/AI-Interview-Prep.git cd interview -
Install the required dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser and go to http://localhost:3000 to view the project.
Here are some important code snippets for reference:
This file contains global styles for the project, ensuring consistent design across components.
/* global styles for the app */Utility functions to handle various tasks across the application.
// utility functions// API route for generating interview questions// Logic for generating interview feedback// Component for displaying feedback after an interviewYou can try conducting dummy interviews with the AI voice assistant, simulating various technical interview scenarios. Explore different domains and get customized feedback for each session.
Feel free to fork this repository and create a pull request to contribute improvements or fixes. All contributions are welcome!
This project is licensed under the MIT License - see the MIT LICENSE file for details.
