# luciferxbeast/ai-powered-resume-screener-job-fit-recommender architecture

> Architecture diagram of the GitHub repository luciferxbeast/ai-powered-resume-screener-job-fit-recommender, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender
- Repository: https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender

## Overview

This is a full-stack AI resume-screening and job-fit recruitment platform. Recruiters create jobs, candidates submit resumes, backend services validate and score fit, and recruiters review applicants and move them through a pipeline; candidates can track their applications. The graph preserves the documented authentication, storage, AI, notification, and portal capabilities. Some subsystem links rely on README documentation or the SOURCE INDEX because their implementation was not excerpted; uncertain wiring is omitted.

Main entry points: [`frontend/src/App.jsx`](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/App.jsx) (Route application), [`backend/routers/jobs.py`](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/jobs.py) (Jobs and applications API), [`backend/services/ai/scoring_service.py`](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/ai/scoring_service.py) (Fit scoring and AI review), [`backend/db/models.py`](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/db/models.py) (Recruitment records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web portals"]
  node_app["Route application<br/>[App.jsx]"]
  node_authpage["Sign in and register<br/>[Auth.jsx]"]
  node_authctx["Session and API access<br/>[AuthContext.jsx]"]
  node_apply["Job application portal<br/>[Apply.jsx]"]
  node_candidateportal["Candidate applications<br/>[MyApplications.jsx]"]
  node_tracking["Application tracking"]
end

subgraph group_api["API and identity"]
  node_jobsapi["Jobs and applications API<br/>[jobs.py]"]
  node_notifications["Notifications API<br/>[notifications.py]"]
  node_profiles["Profiles API<br/>[profiles.py]"]
  node_authapi["JWT and role auth<br/>[auth.py]"]
  node_schemas["API data schemas<br/>[schemas.py]"]
end

subgraph group_screen["Resume screening"]
  node_parser["Resume parsing<br/>[parser.py]"]
  node_validator["PDF structure validation"]
  node_scoring["Fit scoring and AI review<br/>[scoring_service.py]"]
  node_similarity["Rule-based fit scoring<br/>[similarity.py]"]
  node_llm["LLM client<br/>[llm_client.py]"]
  node_batch["Batch scoring<br/>[batch_service.py]"]
end

subgraph group_state["Data and integrations"]
  node_database[("Application database<br/>[database.py]")]
  node_models["Recruitment records<br/>[models.py]"]
  node_storage["Resume storage<br/>[storage_service.py]"]
  node_groq{{"Groq LLM API"}}
  node_supabase[("Supabase Storage")]
end

subgraph group_pipeline["Recruiter workflow"]
  node_dashboard["Recruiter dashboard"]
  node_applicants["Applicant review<br/>[ApplicantList.jsx]"]
  node_kanban["Pipeline board<br/>[KanbanPage.jsx]"]
end

node_candidate(("Candidate"))
node_recruiter(("Recruiter"))

node_app -->|"provides session"| node_authctx
node_app -->|"routes to"| node_authpage
node_app -->|"routes to"| node_apply
node_app -->|"routes to"| node_candidateportal
node_app -->|"routes to"| node_tracking
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_applicants
node_app -->|"routes to"| node_kanban
node_authpage -->|"uses session"| node_authctx
node_candidate -->|"submits resume"| node_apply
node_candidate -->|"views applications"| node_candidateportal
node_candidate -->|"tracks status"| node_tracking
node_recruiter -->|"manages jobs"| node_dashboard
node_recruiter -->|"reviews applicants"| node_applicants
node_recruiter -->|"moves candidates"| node_kanban
node_authctx -->|"calls auth API"| node_authapi
node_authapi -->|"queries sessions"| node_database
node_authapi -->|"queries users"| node_models
node_jobsapi -->|"uses database"| node_database
node_jobsapi -->|"reads and writes"| node_models
node_jobsapi -->|"uses schemas"| node_schemas
node_jobsapi -->|"parses resumes"| node_parser
node_jobsapi -->|"validates PDFs"| node_validator
node_jobsapi -->|"scores fit"| node_scoring
node_jobsapi -->|"stores resumes"| node_storage
node_scoring -->|"parses documents"| node_parser
node_scoring -->|"computes fit"| node_similarity
node_scoring -->|"requests judgment"| node_llm
node_batch -->|"scores candidates"| node_scoring
node_llm -->|"sends inference"| node_groq
node_storage -.->|"stores PDFs"| node_supabase
node_notifications -.->|"uses records"| node_models
node_profiles -.->|"uses records"| node_models

click node_app "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/App.jsx"
click node_authpage "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/Auth.jsx"
click node_authctx "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/context/AuthContext.jsx"
click node_apply "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/Apply.jsx"
click node_candidateportal "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/MyApplications.jsx"
click node_tracking "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/TrackApplication.jsx"
click node_dashboard "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/RecruiterDashboard.jsx"
click node_applicants "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/ApplicantList.jsx"
click node_kanban "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/KanbanPage.jsx"
click node_jobsapi "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/jobs.py"
click node_notifications "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/notifications.py"
click node_profiles "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/profiles.py"
click node_authapi "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/core/auth.py"
click node_schemas "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/core/schemas.py"
click node_parser "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/parser.py"
click node_validator "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/structure_validator.py"
click node_scoring "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/ai/scoring_service.py"
click node_similarity "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/similarity.py"
click node_llm "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/ai/llm_client.py"
click node_batch "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/batch_service.py"
click node_database "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/db/database.py"
click node_models "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/db/models.py"
click node_storage "https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/storage_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_authpage,node_authctx,node_apply,node_candidateportal,node_tracking toneBlue
class node_jobsapi,node_notifications,node_profiles,node_authapi,node_schemas toneAmber
class node_parser,node_validator,node_scoring,node_similarity,node_llm,node_batch toneMint
class node_database,node_models,node_storage,node_groq,node_supabase toneRose
class node_dashboard,node_applicants,node_kanban,node_candidate,node_recruiter toneIndigo
```

## Components

### Web portals

- [Route application](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Sign in and register](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/Auth.jsx): `frontend/src/pages/Auth.jsx`
- [Session and API access](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/context/AuthContext.jsx): `frontend/src/context/AuthContext.jsx`
- [Job application portal](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/Apply.jsx): `frontend/src/pages/Apply.jsx`
- [Candidate applications](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/MyApplications.jsx): `frontend/src/pages/MyApplications.jsx`
- [Application tracking](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/TrackApplication.jsx): `frontend/src/pages/TrackApplication.jsx`

### API and identity

- [Jobs and applications API](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/jobs.py): `backend/routers/jobs.py`
- [Notifications API](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/notifications.py): `backend/routers/notifications.py`
- [Profiles API](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/routers/profiles.py): `backend/routers/profiles.py`
- [JWT and role auth](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/core/auth.py): `backend/core/auth.py`
- [API data schemas](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/core/schemas.py): `backend/core/schemas.py`

### Resume screening

- [Resume parsing](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/parser.py): `backend/services/parser.py`
- [PDF structure validation](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/structure_validator.py): `backend/services/structure_validator.py`
- [Fit scoring and AI review](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/ai/scoring_service.py): `backend/services/ai/scoring_service.py`
- [Rule-based fit scoring](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/similarity.py): `backend/services/similarity.py`
- [LLM client](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/ai/llm_client.py): `backend/services/ai/llm_client.py`
- [Batch scoring](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/batch_service.py): `backend/services/batch_service.py`

### Data and integrations

- [Application database](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/db/database.py): `backend/db/database.py`
- [Recruitment records](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/db/models.py): `backend/db/models.py`
- [Resume storage](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/backend/services/storage_service.py): `backend/services/storage_service.py`
- **Groq LLM API**
- **Supabase Storage**

### Recruiter workflow

- [Recruiter dashboard](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/RecruiterDashboard.jsx): `frontend/src/pages/RecruiterDashboard.jsx`
- [Applicant review](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/ApplicantList.jsx): `frontend/src/pages/ApplicantList.jsx`
- [Pipeline board](https://github.com/luciferxbeast/ai-powered-resume-screener-job-fit-recommender/blob/main/frontend/src/pages/KanbanPage.jsx): `frontend/src/pages/KanbanPage.jsx`

### Other components

- **Candidate**
- **Recruiter**

## Connections

- Route application → Session and API access: provides session (evidence: `frontend/src/App.jsx`)
- Route application → Sign in and register: routes to (evidence: `frontend/src/App.jsx`)
- Route application → Job application portal: routes to (evidence: `frontend/src/App.jsx`)
- Route application → Candidate applications: routes to (evidence: `frontend/src/App.jsx`)
- Route application → Application tracking: routes to (evidence: `frontend/src/App.jsx`)
- Route application → Recruiter dashboard: routes to (evidence: `frontend/src/App.jsx`)
- Route application → Applicant review: routes to (evidence: `frontend/src/App.jsx`)
- Route application → Pipeline board: routes to (evidence: `frontend/src/App.jsx`)
- Sign in and register → Session and API access: uses session (evidence: `frontend/src/pages/Auth.jsx`)
- Candidate → Job application portal: submits resume (evidence: `README.md`)
- Candidate → Candidate applications: views applications (evidence: `README.md`)
- Candidate → Application tracking: tracks status (evidence: `README.md`)
- Recruiter → Recruiter dashboard: manages jobs (evidence: `README.md`)
- Recruiter → Applicant review: reviews applicants (evidence: `README.md`)
- Recruiter → Pipeline board: moves candidates (evidence: `README.md`)
- Session and API access → JWT and role auth: calls auth API
- JWT and role auth → Application database: queries sessions (evidence: `backend/core/auth.py`)
- JWT and role auth → Recruitment records: queries users (evidence: `backend/core/auth.py`)
- Jobs and applications API → Application database: uses database (evidence: `backend/routers/jobs.py`)
- Jobs and applications API → Recruitment records: reads and writes (evidence: `backend/routers/jobs.py`)
- Jobs and applications API → API data schemas: uses schemas (evidence: `backend/routers/jobs.py`)
- Jobs and applications API → Resume parsing: parses resumes (evidence: `backend/routers/jobs.py`)
- Jobs and applications API → PDF structure validation: validates PDFs (evidence: `backend/routers/jobs.py`)
- Jobs and applications API → Fit scoring and AI review: scores fit (evidence: `backend/routers/jobs.py`)
- Jobs and applications API → Resume storage: stores resumes (evidence: `backend/routers/jobs.py`)
- Fit scoring and AI review → Resume parsing: parses documents (evidence: `backend/services/ai/scoring_service.py`)
- Fit scoring and AI review → Rule-based fit scoring: computes fit (evidence: `backend/services/ai/scoring_service.py`)
- Fit scoring and AI review → LLM client: requests judgment (evidence: `backend/services/ai/scoring_service.py`)
- Batch scoring → Fit scoring and AI review: scores candidates (evidence: `backend/services/batch_service.py`)
- LLM client → Groq LLM API: sends inference (evidence: `backend/services/ai/llm_client.py`)
- Resume storage → Supabase Storage: stores PDFs (evidence: `README.md`)
- Notifications API → Recruitment records: uses records
- Profiles API → Recruitment records: uses records
