Welcome to the AI Mock Interview SaaS, your personal AI-powered interview coach! This web app integrates the cutting-edge Google Gemini AI model API to simulate real interview scenarios, helping you to sharpen your skills and get ready for your dream job.
Link - https://ai-interview-saas-yashdg.vercel.app/
- AI-Generated Questions: Enter your job role, description, and years of experience to get tailored interview questions.
- Live Interview Simulation: Turn on your microphone and webcam to answer questions just like in a real interview.
- Speech-to-Text Conversion: Your responses are converted from speech to text for analysis.
- AI Feedback and Rating: Get instant feedback, a rating out of 5, and sample responses for improvement.
- Data Storage: All information is stored in the database, allowing you to review and track your progress anytime.
- Frontend: TypeScript, Next.js 14, Shadcn UI, Tailwind CSS
- Authentication: Clerk
- Database: Neon PostgreSQL, Drizzle ORM
Follow these steps to get the project up and running on your local machine.
- Node.js
- PostgreSQL
-
Clone the repository
git clone https://github.com/yghugardare/AI-Interview-SaaS cd ai-mock-interview-saas -
Install dependencies
npm install
-
Set up environment variables
Create a
.envfile in the root directory and add your environment variables.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your-key CLERK_SECRET_KEY=your-key NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up NEXT_PUBLIC_DRIZZLE_DB_URL=postgresql://yourdblink NEXT_PUBLIC_GEMINI_API_KEY=your-api -
Run database migrations
npm run db:push
-
Start the development server
npm run dev
Open http://localhost:3000 to see your app in action.
- Sign up / Log in: Authenticate using Clerk.
- Enter Details: Provide your job role, description, and years of experience.
- Start Interview: Answer the AI-generated questions with your microphone and webcam on.
- Get Feedback: Receive detailed feedback, rating, and sample responses.
- Review: Access your past interview data anytime to monitor your progress.
The app uses Google Gemini AI to generate interview questions and provide feedback. The AI analyzes your speech-to-text converted responses to give you constructive feedback and a rating out of 5.
The app uses Neon PostgreSQL with Drizzle ORM to store all user data, ensuring efficient and secure access to your interview history.
User authentication is handled by Clerk, providing secure and seamless sign-up and log-in processes.
Styled with Tailwind CSS and Shadcn UI, the app offers a modern and intuitive interface for the best user experience.
Feel free to explore, use, and contribute to this project. Happy interviewing! 🚀