An AI-powered tool that generates 3 role-specific interview questions for any job title.
Live demo: [your-deploy-url-here]
- React + Vite
- Groq API —
llama-3.1-8b-instantmodel - No backend — runs entirely in the browser
Groq's inference speed is noticeably faster than most free-tier alternatives, which keeps the loading state brief and the experience snappy. The llama-3.1-8b-instant model is more than capable for structured prompt tasks like this.
1. Clone the repo
git clone https://github.com/YOUR_USERNAME/interview-gen.git
cd interview-gen2. Install dependencies
npm install3. Add your Groq API key
Create a .env file in the project root (never commit this):
cp .env.example .envThen open .env and replace your_groq_api_key_here with your actual key from console.groq.com.
4. Run locally
npm run dev- Push the repo to GitHub
- Import the repo at vercel.com/new
- In the Vercel dashboard, go to Settings → Environment Variables
- Add
VITE_GROQ_API_KEYwith your Groq key - Deploy — Vercel handles the rest
⚠️ Note on API key exposure: This app calls the Groq API directly from the browser. For a production app, you'd proxy the request through a backend to keep the key server-side. For this assignment, the free-tier key has no sensitive data attached, so client-side is acceptable.
src/
App.jsx — main component + API logic (well-commented)
App.css — all styles
main.jsx — React entry point