A small full-stack tool that scores how well a resume matches a job description, using sentence embeddings (not keyword string-matching) plus a transparent skill-gap list. Missing skills can be sent to an LLM (Groq) for honest phrasing suggestions.
- Backend: FastAPI +
sentence-transformers(all-MiniLM-L6-v2) + scikit-learn - LLM suggestions: Groq API (
llama-3.1-8b-instant) — free tier - Frontend: React (Vite)
- DB: SQLite (via SQLAlchemy) — stores scan history
- User pastes a job description and either pastes resume text or uploads a resume PDF
- Backend extracts PDF text if needed (
pypdf) - Both texts are embedded with a sentence-transformer model
- Cosine similarity between the two embeddings gives a 0-100 match score
- A fixed skill vocabulary is checked against both texts to produce a "missing skills" / "matched skills" list (a simple, explainable heuristic layered on top of the embedding score — not a replacement for it)
- Result is saved to SQLite and returned to the frontend
- (Optional) User can click a missing skill →
/api/suggestcalls the Groq LLM to suggest honest resume phrasing based only on what's already in the resume
cd backend
python3 -m venv venv
source venv/bin/activate # on Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file inside backend/ with your Groq API key
(get a free key at console.groq.com):
GROQ_API_KEY=gsk_your_key_here
GROQ_API_URL=https://api.groq.com/openai/v1/chat/completions
GROQ_MODEL=llama-3.1-8b-instantThen start the server:
uvicorn app.main:app --reload --port 8000First run will download the all-MiniLM-L6-v2 model (~80MB) from Hugging Face —
needs internet access once, then it's cached locally.
API docs available at http://localhost:8000/docs once running.
cd frontend
npm install
npm run devOpens at http://localhost:5173. It talks to the backend at
http://localhost:8000 by default — override with a .env file:
VITE_API_URL=http://localhost:8000
| Method | Endpoint | Description |
|---|---|---|
GET |
/health |
Health check |
POST |
/api/match |
Score resume vs job description |
GET |
/api/history |
List past scans (SQLite) |
POST |
/api/suggest |
LLM phrasing suggestion for a missing skill |
- Backend: Render or Railway free tier (needs a persistent disk if you want
SQLite history to survive restarts — otherwise it resets, which is fine
for a demo). Set
GROQ_API_KEYas an environment variable in your host. - Frontend: Vercel or Netlify, pointing
VITE_API_URLat your deployed backend
- No authentication/login
- No multi-resume comparison or job board scraping
This is intentional — the point of v1 is a small, fully understood system, not maximum features.