8000 GitHub - sgodar/prj · GitHub
[go: up one dir, main page]

Skip to content
sgodarPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

AI Resume Checker

An AI-powered resume analysis tool that scores resumes against job descriptions, provides skill & keyword matching feedback, and suggests improvements for better employability.


Features

  • Resume Upload – Upload PDF, DOCX, or TXT resumes (or paste text directly)
  • Skill Matching – Extracts and compares skills between resume and job description
  • Keyword Analysis – NLP-powered keyword overlap detection
  • Semantic Similarity – Uses Sentence-Transformers to measure contextual relevance
  • Quality Assessment – Checks resume format, contact info, action verbs, metrics
  • Improvement Suggestions – Actionable, prioritized recommendations
  • Overall Scoring – Weighted composite score (0–100%)

Tech Stack

Layer Technology
Frontend React 18, HTML5, CSS3
Backend Python 3.11, Flask
AI / NLP SpaCy, Sentence-Transformers, scikit-learn
Database MongoDB
DevOps Docker, Docker Compose

Project Structure

PRJ/
├── backend/
│   ├── app.py                  # Flask application factory
│   ├── config.py               # App configuration
│   ├── requirements.txt        # Python dependencies
│   ├── Dockerfile
│   ├── routes/
│   │   ├── resume_routes.py    # Resume upload & CRUD
│   │   └── analysis_routes.py  # Scoring & analysis API
│   └── services/
│       ├── parser.py           # Resume file parser (PDF/DOCX/TXT)
│       └── analyzer.py         # Core AI analysis engine
├── frontend/
│   ├── package.json
│   ├── Dockerfile
│   ├── public/
│   │   └── index.html
│   └── src/
│       ├── index.js
│       ├── App.js              # Main application component
│       ├── api/
│       │   └── resumeApi.js    # API client
│       ├── components/
│       │   ├── Header.js
│       │   ├── ResumeUploader.js
│       │   ├── JobDescriptionInput.js
│       │   ├── ScoreDisplay.js
│       │   ├── SkillMatch.js
│       │   ├── KeywordMatch.js
│       │   ├── QualityAssessment.js
│       │   └── Suggestions.js
│       └── styles/
│           ├── index.css
│           └── App.css
├── docker-compose.yml
└── .gitignore

Getting Started

Prerequisites

  • Python 3.10+
  • Node.js 18+
  • MongoDB (local or cloud) — or use Docker

Option 1: Docker Compose (Recommended)

docker-compose up --build

This starts MongoDB, the Flask API (port 5000), and the React UI (port 3000).

Open http://localhost:3000 in your browser.

Option 2: Manual Setup

Backend

cd backend

# Create virtual environment
python -m venv venv
venv\Scripts\activate        # Windows
# source venv/bin/activate   # macOS/Linux

# Install dependencies
pip install -r requirements.txt

# Download SpaCy model
python -m spacy download en_core_web_sm

# Configure environment
copy .env.example .env       # Windows
# cp .env.example .env       # macOS/Linux

# Start the server
python app.py

The API runs at http://localhost:5000.

Frontend

cd frontend

# Install dependencies
npm install

# Configure environment
copy .env.example .env       # Windows
# cp .env.example .env       # macOS/Linux

# Start the dev server
npm start

The UI runs at http://localhost:3000.


API Endpoints

Method Endpoint Description
POST /api/resume/upload Upload a resume file
GET /api/resume/<id> Get a parsed resume
GET /api/resume/list List all resumes
DELETE /api/resume/<id> Delete a resume
POST /api/analysis/score Score resume against job description
GET /api/analysis/history View past analyses
GET /api/health Health check

Scoring Request Example

POST /api/analysis/score
{
  "resume_text": "John Doe – Software Engineer...",
  "job_description": "We are looking for a Python developer..."
}

Scoring Response Example

{
  "overall_score": 72.5,
  "skill_match": {
    "score": 66.7,
    "matched": ["python", "flask", "git"],
    "missing": ["docker", "aws"],
    "extra": ["react"]
  },
  "keyword_match": {
    "score": 58.3,
    "matched": ["development", "api", "testing"],
    "missing": ["deployment", "monitoring"]
  },
  "semantic_similarity": 74.2,
  "quality_assessment": {
    "score": 80.0,
    "checks": { ... }
  },
  "suggestions": [
    {
      "category": "Missing Skills",
      "priority": "high",
      "message": "Add these skills if you have experience: docker, aws"
    }
  ]
}

How Scoring Works

The overall score is a weighted composite of four factors:

Factor Weight Method
Skill Match 30% Compares extracted skills against a 130+ skill database
Keyword Overlap 25% SpaCy NLP-based keyword extraction & overlap
Semantic Similarity 25% Sentence-Transformer cosine similarity
Resume Quality 20% Heuristic checks (length, contact, verbs, etc.)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0