# jackbyteback/resume-screening-system architecture

> Architecture diagram of the GitHub repository jackbyteback/resume-screening-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jackbyteback/resume-screening-system
- Repository: https://github.com/jackbyteback/resume-screening-system

## Overview

ResumeMatch AI is a local Flask resume-screening and job-matching application. Recruiters upload resumes, review and edit extracted profiles, create job requirements, run explainable candidate matching, then inspect rankings and dashboard summaries or export reports. The graph follows those stages and includes privacy controls and the shared skill-dictionary layer. Relationships are based on the README, excerpts, and SOURCE INDEX; some subsystem internals were not sampled, so undocumented links are omitted.

Main entry points: [`app.py`](https://github.com/jackbyteback/resume-screening-system/blob/main/app.py) (Flask application), [`models/database_models.py`](https://github.com/jackbyteback/resume-screening-system/blob/main/models/database_models.py) (Domain data models), [`services/resume_service.py`](https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_service.py) (Resume processing), [`routes/matching_routes.py`](https://github.com/jackbyteback/resume-screening-system/blob/main/routes/matching_routes.py) (Matching and report routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_app["Flask application<br/>[app.py]"]
  node_jobs["Job management<br/>[job_routes.py]"]
end

subgraph group_profiles["Resume profiles"]
  node_resume_routes["Resume and profile routes<br/>[resume_routes.py]"]
  node_resume_service["Resume processing<br/>[resume_service.py]"]
  node_parser["PDF and DOCX parser<br/>[resume_parser.py]"]
  node_information["Profile extraction"]
  node_privacy["Candidate data deletion<br/>[auth_routes.py]"]
  node_upload_store[("Resume file storage<br/>[resume_service.py]")]
end

subgraph group_matching["Matching and review"]
  node_matching_routes["Matching and report routes<br/>[matching_routes.py]"]
  node_match_service["Matching orchestration<br/>[match_service.py]"]
  node_engine["Scoring and ranking<br/>[matching_engine.py]"]
  node_dashboard["Recruiter dashboard"]
  node_reports["CSV and PDF reports"]
end

subgraph group_shared["Data and configuration"]
  node_skills["Skill dictionary<br/>[skill_extractor.py]"]
  node_models["Domain data models<br/>[database_models.py]"]
  node_config["Application settings<br/>[config.py]"]
  node_database[("Local relational database<br/>[database_models.py]")]
end

node_recruiter(("Recruiter"))

node_recruiter -->|"uses"| node_app
node_app -->|"registers routes"| node_jobs
node_app -->|"registers routes"| node_resume_routes
node_app -->|"registers routes"| node_matching_routes
node_app -->|"registers routes"| node_dashboard
node_app -->|"loads settings"| node_config
node_app -->|"initializes ORM"| node_models
node_models -->|"maps entities"| node_database
node_recruiter -->|"uploads and edits"| node_resume_routes
node_resume_routes -->|"processes uploads"| node_resume_service
node_resume_service -->|"extracts text"| node_parser
node_resume_service -->|"extracts fields"| node_information
node_information -->|"extracts skills"| node_skills
node_resume_service -->|"saves profiles"| node_models
node_resume_service -->|"stores files"| node_upload_store
node_jobs -->|"normalizes requirements"| node_skills
node_jobs -->|"saves jobs"| node_models
node_recruiter -->|"runs matching"| node_matching_routes
node_matching_routes -->|"starts scoring"| node_match_service
node_match_service -->|"scores candidates"| node_engine
node_engine -->|"checks skill matches"| node_skills
node_match_service -->|"reads and saves results"| node_models
node_matching_routes -->|"builds exports"| node_reports
node_recruiter -->|"reviews summaries"| node_dashboard
node_dashboard -->|"queries results"| node_models
node_recruiter -->|"deletes candidate data"| node_privacy
node_privacy -->|"deletes files"| node_upload_store
node_privacy -->|"deletes records"| node_models

click node_app "https://github.com/jackbyteback/resume-screening-system/blob/main/app.py"
click node_jobs "https://github.com/jackbyteback/resume-screening-system/blob/main/routes/job_routes.py"
click node_resume_routes "https://github.com/jackbyteback/resume-screening-system/blob/main/routes/resume_routes.py"
click node_resume_service "https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_service.py"
click node_parser "https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_parser.py"
click node_information "https://github.com/jackbyteback/resume-screening-system/blob/main/services/information_extractor.py"
click node_skills "https://github.com/jackbyteback/resume-screening-system/blob/main/services/skill_extractor.py"
click node_matching_routes "https://github.com/jackbyteback/resume-screening-system/blob/main/routes/matching_routes.py"
click node_match_service "https://github.com/jackbyteback/resume-screening-system/blob/main/services/match_service.py"
click node_engine "https://github.com/jackbyteback/resume-screening-system/blob/main/services/matching_engine.py"
click node_dashboard "https://github.com/jackbyteback/resume-screening-system/blob/main/routes/dashboard_routes.py"
click node_reports "https://github.com/jackbyteback/resume-screening-system/blob/main/services/report_generator.py"
click node_privacy "https://github.com/jackbyteback/resume-screening-system/blob/main/routes/auth_routes.py"
click node_models "https://github.com/jackbyteback/resume-screening-system/blob/main/models/database_models.py"
click node_config "https://github.com/jackbyteback/resume-screening-system/blob/main/config.py"
click node_database "https://github.com/jackbyteback/resume-screening-system/blob/main/models/database_models.py"
click node_upload_store "https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_service.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_jobs toneBlue
class node_resume_routes,node_resume_service,node_parser,node_information,node_privacy,node_upload_store toneAmber
class node_matching_routes,node_match_service,node_engine,node_dashboard,node_reports toneMint
class node_skills,node_models,node_config,node_database toneRose
class node_recruiter toneIndigo
```

## Components

### Web application

- [Flask application](https://github.com/jackbyteback/resume-screening-system/blob/main/app.py): `app.py`
- [Job management](https://github.com/jackbyteback/resume-screening-system/blob/main/routes/job_routes.py): `routes/job_routes.py`

### Resume profiles

- [Resume and profile routes](https://github.com/jackbyteback/resume-screening-system/blob/main/routes/resume_routes.py): `routes/resume_routes.py`
- [Resume processing](https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_service.py): `services/resume_service.py`
- [PDF and DOCX parser](https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_parser.py): `services/resume_parser.py`
- [Profile extraction](https://github.com/jackbyteback/resume-screening-system/blob/main/services/information_extractor.py): `services/information_extractor.py`
- [Candidate data deletion](https://github.com/jackbyteback/resume-screening-system/blob/main/routes/auth_routes.py): `routes/auth_routes.py`
- [Resume file storage](https://github.com/jackbyteback/resume-screening-system/blob/main/services/resume_service.py): `services/resume_service.py`

### Matching and review

- [Matching and report routes](https://github.com/jackbyteback/resume-screening-system/blob/main/routes/matching_routes.py): `routes/matching_routes.py`
- [Matching orchestration](https://github.com/jackbyteback/resume-screening-system/blob/main/services/match_service.py): `services/match_service.py`
- [Scoring and ranking](https://github.com/jackbyteback/resume-screening-system/blob/main/services/matching_engine.py): `services/matching_engine.py`
- [Recruiter dashboard](https://github.com/jackbyteback/resume-screening-system/blob/main/routes/dashboard_routes.py): `routes/dashboard_routes.py`
- [CSV and PDF reports](https://github.com/jackbyteback/resume-screening-system/blob/main/services/report_generator.py): `services/report_generator.py`

### Data and configuration

- [Skill dictionary](https://github.com/jackbyteback/resume-screening-system/blob/main/services/skill_extractor.py): `services/skill_extractor.py`
- [Domain data models](https://github.com/jackbyteback/resume-screening-system/blob/main/models/database_models.py): `models/database_models.py`
- [Application settings](https://github.com/jackbyteback/resume-screening-system/blob/main/config.py): `config.py`
- [Local relational database](https://github.com/jackbyteback/resume-screening-system/blob/main/models/database_models.py): `models/database_models.py`

### Other components

- **Recruiter**

## Connections

- Recruiter → Flask application: uses (evidence: `README.md`)
- Flask application → Job management: registers routes (evidence: `app.py`)
- Flask application → Resume and profile routes: registers routes (evidence: `app.py`)
- Flask application → Matching and report routes: registers routes (evidence: `app.py`)
- Flask application → Recruiter dashboard: registers routes (evidence: `app.py`)
- Flask application → Application settings: loads settings (evidence: `app.py`)
- Flask application → Domain data models: initializes ORM (evidence: `app.py`)
- Domain data models → Local relational database: maps entities (evidence: `README.md`)
- Recruiter → Resume and profile routes: uploads and edits (evidence: `README.md`)
- Resume and profile routes → Resume processing: processes uploads (evidence: `routes/resume_routes.py`)
- Resume processing → PDF and DOCX parser: extracts text (evidence: `services/resume_service.py`)
- Resume processing → Profile extraction: extracts fields (evidence: `services/resume_service.py`)
- Profile extraction → Skill dictionary: extracts skills (evidence: `services/information_extractor.py`)
- Resume processing → Domain data models: saves profiles (evidence: `services/resume_service.py`)
- Resume processing → Resume file storage: stores files (evidence: `services/resume_service.py`)
- Job management → Skill dictionary: normalizes requirements (evidence: `routes/job_routes.py`)
- Job management → Domain data models: saves jobs (evidence: `routes/job_routes.py`)
- Recruiter → Matching and report routes: runs matching (evidence: `README.md`)
- Matching and report routes → Matching orchestration: starts scoring (evidence: `routes/matching_routes.py`)
- Matching orchestration → Scoring and ranking: scores candidates (evidence: `services/match_service.py`)
- Scoring and ranking → Skill dictionary: checks skill matches (evidence: `services/matching_engine.py`)
- Matching orchestration → Domain data models: reads and saves results (evidence: `services/match_service.py`)
- Matching and report routes → CSV and PDF reports: builds exports (evidence: `routes/matching_routes.py`)
- Recruiter → Recruiter dashboard: reviews summaries (evidence: `README.md`)
- Recruiter dashboard → Domain data models: queries results (evidence: `routes/dashboard_routes.py`)
- Recruiter → Candidate data deletion: deletes candidate data (evidence: `routes/auth_routes.py`)
- Candidate data deletion → Resume file storage: deletes files (evidence: `routes/auth_routes.py`)
- Candidate data deletion → Domain data models: deletes records (evidence: `routes/auth_routes.py`)
