Fully serverless resume analysis with Next.js + Google Gemini AI + Local NLP — deploy on Vercel for free!
| Feature | v2.0 (FastAPI + Next.js) | v3.0 (Fully Serverless) |
|---|---|---|
| Architecture | Separate Python backend + Next.js frontend | Single Next.js app with API routes |
| Deployment | Need 2 services (Fly.io + Vercel) | Just Vercel (free!) |
| Backend | FastAPI (Python) | Next.js API Routes (TypeScript) |
| Analysis | AI + Local NLP + Hybrid | AI + Local NLP + Hybrid (same!) |
| File Support | PDF, DOCX, TXT | PDF, DOCX, TXT (same!) |
| Cold Start | ~5s (separate backend) | ~1s (serverless functions) |
resumelyze/
frontend/ # Everything lives here!
package.json
next.config.js
vercel.json # Vercel config
tailwind.config.js
tsconfig.json
.env.local # API key (local dev)
src/
app/
layout.tsx
page.tsx # Main page
globals.css
api/
analyze/route.ts # 🔥 Analysis API (serverless)
health/route.ts # Health check API
modes/route.ts # Available modes API
components/
Header.tsx
Footer.tsx
FileUpload.tsx
JobDescriptionInput.tsx
ModeSelector.tsx
LoadingAnimation.tsx
ResultsDashboard.tsx
ScoreCircle.tsx
lib/
api.ts # Frontend API client
analyzer.ts # 🧠 Local NLP engine (TypeScript)
gemini.ts # 🤖 Gemini AI integration
pdf-parser.ts # 📄 PDF/DOCX text extraction
utils.ts
types/
index.ts
LICENSE
README.md
git clone https://github.com/satyakiabhijit/resumelyze.git
cd resumelyze/frontend
npm install# Create frontend/.env.local
GOOGLE_API_KEY=your_gemini_api_key_herenpm run devOpen http://localhost:3000 — that's it! No separate backend needed.
- Push to GitHub
- Go to vercel.com/new → Import your repo
- Set Root Directory →
frontend - Add Environment Variable:
GOOGLE_API_KEY=your_key_here - Click Deploy 🚀
Your app will be live at https://your-project.vercel.app
| Mode | Requires API Key | Description |
|---|---|---|
| Local | No | TF-IDF cosine similarity, keyword extraction, section detection, readability scoring |
| AI | Yes | Full Google Gemini analysis with deep semantic understanding |
| Hybrid | Yes (falls back to local) | Best of both — merges NLP scores with AI insights |
Runtime: Next.js 14, TypeScript, Vercel Serverless Functions
UI: Tailwind CSS, Framer Motion, Recharts, Lucide Icons, React Dropzone, Sonner
Analysis: Local NLP (TF-IDF), Google Gemini AI (REST API), pdf-parse, mammoth
Contributions are welcome! Fork the repo and create a pull request.
MIT License - see LICENSE for details.
Made with love by Satyaki Abhijit