Prepwise is a comprehensive job interview preparation platform powered by Vapi AI Voice agents, designed to help job seekers practice and improve their interview skills with realistic AI-driven interviews.
- 🤖 Introduction
- ⚙️ Tech Stack
- 🔋 Features
- 🤸 Quick Start
- 🕸️ Snippets (Code to Copy)
- 🔗 Assets
- 🚀 More
- 🚨 Tutorial
Built with Next.js for the user interface and backend logic, Firebase for authentication and data storage, styled with TailwindCSS and using Vapi's voice agents, Prepwise is a website project designed to help you learn integrating AI models with your apps. The platform offers a sleek and modern experience for job interview preparation.
- Next.js - React framework for building the UI and backend
- Firebase - Authentication and database
- Tailwind CSS - Styling and UI components
- Vapi AI - Voice agent integration
- shadcn/ui - UI component library
- Google Gemini - AI language model
- Zod - Schema validation
👉 Authentication: Sign Up and Sign In using password/email authentication handled by Firebase.
👉 Create Interviews: Easily generate job interviews with help of Vapi voice assistants and Google Gemini.
👉 Get feedback from AI: Take the interview with AI voice agent, and receive instant feedback based on your conversation.
👉 Modern UI/UX: A sleek and user-friendly interface designed for a great experience.
👉 Interview Page: Conduct AI-driven interviews with real-time feedback and detailed transcripts.
👉 Dashboard: Manage and track all your interviews with easy navigation.
👉 Responsiveness: Fully responsive design that works seamlessly across devices.
👉 Retake Interview: You can retake the interview again and again until you score the max
👉 Delete Interview: You can Delete the interview if you don't want it any more
And many more, including code architecture and reusability.
Follow these steps to set up the project locally on your machine.
Make sure you have the following installed on your machine:
- Git
- Node.js
- npm (Node Package Manager)
git clone https://github.com/adrianhajdin/ai_mock_interviews.git
cd ai_mock_interviewsInstall the project dependencies using npm:
npm installCreate a new file named .env.local in the root of your project and add the following content:
NEXT_PUBLIC_VAPI_WEB_TOKEN=
NEXT_PUBLIC_VAPI_ASSISTANT_ID= # Preferred: Use assistant ID for voice calls
NEXT_PUBLIC_VAPI_WORKFLOW_ID= # Fallback: Use workflow ID if assistant ID is not available
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.
npm run devOpen http://localhost:3000 in your browser to view the project.
The repository contains all the code needed to get the project up and running. Key code snippets and components can be found in their respective directories:
/app- Main application routes and pages/components- Reusable UI components/lib- Utility functions and configurations/public- Static assets
All project assets including images, icons, and other media files are stored in the /public directory.
For more information about the technologies used:
- Next.js Documentation
- Firebase Documentation
- Tailwind CSS Documentation
- Vapi AI Documentation
- shadcn/ui Documentation
- Google Gemini Documentation
I take help From Youtube Js Mastery
Built with ❤️ by Abdullah Mansoor
