Practice smarter. Interview better.
Prept turns your browser into an interview coaching session. Pick a role, answer questions out loud, and get an AI score with specific, actionable coaching within seconds — for free.
Most job seekers practice interviews by reading sample questions — but never actually speaking answers aloud. When they get to a real interview, they freeze, ramble, or forget to structure their thoughts. There's no affordable, always-available tool that coaches you on how you answer, not just what you should know.
Prept turns your browser into an interview coaching session. Speak your answers naturally. Get an AI score and specific coaching within seconds. Practice as many times as you need, for free.
- 🎙 Real-time voice-to-text via the Web Speech API (with a typing fallback)
- 🤖 AI evaluation using Google Gemini (score, strengths, improvements, model answer)
- ⭐ STAR method breakdown for behavioral questions
- 📊 Session history and progress tracking
- 🎯 6 role categories, 3 difficulty levels, 3 interview types
- 💼 Paste a job description for tailored questions
- ✨ Guest demo — try a sample question on the landing page, no sign-up
| Layer | Tool |
|---|---|
| Framework | Next.js 14 (App Router) |
| Styling | Tailwind CSS + hand-rolled shadcn-style UI |
| Auth + DB | Supabase (@supabase/ssr, Postgres, RLS) |
| AI | Google Gemini (gemini-2.5-flash) |
| Voice | Web Speech API (browser-native, zero cost) |
| Deployment | Vercel |
| Fonts | DM Serif Display (headings) + DM Sans (body) |
No paid third-party services — everything runs on free tiers.
- Node.js 18+
- A Supabase project (free tier)
- A Google Gemini API key (free tier — https://aistudio.google.com/apikey)
git clone https://github.com/your-username/prept
cd prept
npm install
cp .env.example .env.local
# Fill in your environment variables (see below)
npm run devOpen http://localhost:3000.
The app ships with placeholder env values in
.env.localso it builds and the landing page + guest demo work immediately. Add real keys to enable auth, persistence, and live AI question generation/evaluation.
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
GEMINI_API_KEY=
- Supabase values: Dashboard → Project Settings → API.
- Gemini key: https://aistudio.google.com/apikey.
- Open your Supabase project's SQL editor.
- Run the schema from
supabase/schema.sql. - Row Level Security policies are included in that file (users only ever see their own sessions and responses).
- Push to GitHub.
- Import the repo into Vercel.
- Add the four environment variables in the Vercel dashboard.
- Deploy.
- Choose your role — pick a job title or paste a job description.
- Answer out loud — the Web Speech API transcribes your spoken answer live.
- Get coached — your answer is sent to a Next.js API route, scored by Gemini against role-specific standards, and returned with strengths, improvements, a model answer, and (for behavioral questions) a STAR breakdown.
Questions are generated progressively — the next one is only created when you click "Next question," and previously asked questions are passed back to the model so it never repeats itself.
prept/
├── app/
│ ├── globals.css # Design tokens + fonts
│ ├── layout.tsx # Root layout, metadata, toast provider
│ ├── page.tsx # Landing page (+ guest demo)
│ ├── auth/login | signup/ # Supabase email/password auth
│ ├── dashboard/ # Stats + recent sessions
│ ├── session/new/ # 3-step setup wizard
│ ├── session/[id]/ # Active interview (the core experience)
│ ├── history/ # Past sessions with inline Q&A breakdown
│ └── api/
│ ├── generate-question/ # Gemini → next question
│ ├── evaluate-answer/ # Gemini → score + feedback (saved to DB)
│ └── end-session/ # Computes average, marks complete
├── components/
│ ├── ui/ # button, card, badge, toast, dialog, …
│ ├── layout/ # Navbar, Footer
│ ├── landing/ # Hero, HowItWorks, Features, Demo, CTA
│ ├── session/ # VoiceRecorder, QuestionCard, FeedbackCard,
│ │ # ScoreRing, SessionSummary
│ └── dashboard/ # StatCard, RecentSessions
├── lib/
│ ├── supabase/{client,server}.ts
│ ├── gemini.ts # Lazy Gemini client + JSON parsing
│ └── prompts.ts # All AI prompts in one place
├── types/index.ts
├── middleware.ts # Protects /dashboard, /session, /history
└── supabase/schema.sql
GEMINI_API_KEYis only ever read server-side inside/app/api/*routes — it is never exposed to the browser.- All database access is gated by Supabase Row Level Security.
- Model JSON output is parsed defensively (markdown fences stripped, wrapped in try/catch).
- AI-generated personalized study plans based on weak areas
- Video recording with body language and eye contact tips
- Industry-specific question banks (finance, healthcare, engineering)
- Peer mock interview matching
- LinkedIn integration to auto-fill role context
- Team plans for bootcamps and career centers
- Mobile app (React Native)
- Google Gemini API: https://ai.google.dev/gemini-api/docs
- Supabase Docs: https://supabase.com/docs
- Web Speech API: https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API
- STAR Interview Method: https://www.themuse.com/advice/star-interview-method