Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ResumeMatch

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.

Stack

  • 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

How it works

  1. User pastes a job description and either pastes resume text or uploads a resume PDF
  2. Backend extracts PDF text if needed (pypdf)
  3. Both texts are embedded with a sentence-transformer model
  4. Cosine similarity between the two embeddings gives a 0-100 match score
  5. 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)
  6. Result is saved to SQLite and returned to the frontend
  7. (Optional) User can click a missing skill → /api/suggest calls the Groq LLM to suggest honest resume phrasing based only on what's already in the resume

Running locally

Backend

cd backend
python3 -m venv venv
source venv/bin/activate       # on Windows: venv\Scripts\activate
pip install -r requirements.txt

Create 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-instant

Then start the server:

uvicorn app.main:app --reload --port 8000

First 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.

Frontend

cd frontend
npm install
npm run dev

Opens 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

API Endpoints

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

Deploying (optional)

  • 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_KEY as an environment variable in your host.
  • Frontend: Vercel or Netlify, pointing VITE_API_URL at your deployed backend

Deliberately not included (v1 scope)

  • 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.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages