# dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant architecture

> Architecture diagram of the GitHub repository dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant
- Repository: https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant

## Overview

Resume Analyzer & Advisor is a dual-workflow application: recruiters compare uploaded resumes against job criteria, while students generate or critique resumes. The frontend routes user actions through an Axios client to FastAPI handlers. Recruiter uploads are parsed and indexed for retrieval; shortlisting then evaluates candidates and persists ranked results. Student requests use resume parsing and LLM writing or critique, with generated outputs persisted. README documents Gemini, Pinecone, and PostgreSQL integrations; unsampled frontend and schema internals are represented only where the tree or index supports them.

Main entry points: [`backend/app/routers/recruiter.py`](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/routers/recruiter.py) (Recruiter handlers), [`backend/app/routers/student.py`](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/routers/student.py) (Student handlers), [`backend/app/database.py`](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/database.py) (Database sessions), [`frontend/src/App.jsx`](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/App.jsx) (Route shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Web application"]
  node_app["Route shell<br/>[App.jsx]"]
  node_home["Home page<br/>[Home.jsx]"]
  node_recruiter_ui["Recruiter dashboard"]
  node_student_ui["Student dashboard"]
  node_api_client["HTTP client<br/>[client.js]"]
  node_match_meter["Match meter<br/>[MatchMeter.jsx]"]
  node_score_ring["Score ring<br/>[ScoreRing.jsx]"]
end

subgraph group_api["API layer"]
  node_api_app["FastAPI application<br/>[main.py]"]
  node_schemas["API schemas<br/>[schemas.py]"]
end

subgraph group_recruiter["Recruiter workflow"]
  node_recruiter_routes["Recruiter handlers<br/>[recruiter.py]"]
  node_resume_parser["Resume extraction<br/>[resume_parser.py]"]
  node_vector_service["Candidate retrieval<br/>[vector_service.py]"]
end

subgraph group_student["Student workflow"]
  node_student_routes["Student handlers<br/>[student.py]"]
end

subgraph group_platform["Persistence and AI"]
  node_llm_service["Resume evaluation and writing<br/>[llm_service.py]"]
  node_config["Service settings<br/>[config.py]"]
  node_database_layer["Database sessions<br/>[database.py]"]
  node_models["Domain records<br/>[models.py]"]
  node_postgres[("PostgreSQL")]
  node_pinecone[("Pinecone index")]
  node_gemini{{"Gemini API"}}
end

node_user(("Recruiter or student"))

node_user -->|"uses"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_recruiter_ui
node_app -->|"routes to"| node_student_ui
node_recruiter_ui -->|"calls"| node_api_client
node_student_ui -->|"calls"| node_api_client
node_recruiter_ui -->|"renders"| node_match_meter
node_student_ui -->|"renders"| node_score_ring
node_api_client -->|"sends requests"| node_api_app
node_api_app -->|"registers"| node_recruiter_routes
node_api_app -->|"registers"| node_student_routes
node_api_app -->|"creates tables"| node_database_layer
node_recruiter_routes -->|"reads and writes"| node_models
node_recruiter_routes -->|"opens sessions"| node_database_layer
node_recruiter_routes -->|"validates and returns"| node_schemas
node_recruiter_routes -->|"extracts resumes"| node_resume_parser
node_recruiter_routes -->|"indexes and retrieves"| node_vector_service
node_recruiter_routes -->|"evaluates candidates"| node_llm_service
node_student_routes -->|"extracts uploads"| node_resume_parser
node_student_routes -->|"generates or critiques"| node_llm_service
node_student_routes -->|"persists outputs"| node_models
node_student_routes -->|"opens sessions"| node_database_layer
node_student_routes -->|"validates and returns"| node_schemas
node_database_layer -->|"reads connection setting"| node_config
node_database_layer -->|"connects to"| node_postgres
node_models -->|"uses base"| node_database_layer
node_llm_service -->|"reads credentials"| node_config
node_llm_service -->|"prompts and generates"| node_gemini
node_vector_service -->|"reads credentials"| node_config
node_vector_service -->|"embeds text"| node_gemini
node_vector_service -->|"upserts and queries"| node_pinecone

click node_app "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/App.jsx"
click node_home "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/pages/Home.jsx"
click node_recruiter_ui "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/pages/RecruiterDashboard.jsx"
click node_student_ui "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/pages/StudentDashboard.jsx"
click node_api_client "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/api/client.js"
click node_match_meter "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/components/MatchMeter.jsx"
click node_score_ring "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/components/ScoreRing.jsx"
click node_api_app "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/main.py"
click node_schemas "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/schemas.py"
click node_recruiter_routes "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/routers/recruiter.py"
click node_resume_parser "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/services/resume_parser.py"
click node_vector_service "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/services/vector_service.py"
click node_student_routes "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/routers/student.py"
click node_llm_service "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/services/llm_service.py"
click node_config "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/config.py"
click node_database_layer "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/database.py"
click node_models "https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/models.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_home,node_recruiter_ui,node_student_ui,node_api_client,node_match_meter,node_score_ring toneBlue
class node_api_app,node_schemas toneAmber
class node_recruiter_routes,node_resume_parser,node_vector_service toneMint
class node_student_routes toneRose
class node_llm_service,node_config,node_database_layer,node_models,node_postgres,node_pinecone,node_gemini,node_user toneIndigo
```

## Components

### Web application

- [Route shell](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Home page](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/pages/Home.jsx): `frontend/src/pages/Home.jsx`
- [Recruiter dashboard](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/pages/RecruiterDashboard.jsx): `frontend/src/pages/RecruiterDashboard.jsx`
- [Student dashboard](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/pages/StudentDashboard.jsx): `frontend/src/pages/StudentDashboard.jsx`
- [HTTP client](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/api/client.js): `frontend/src/api/client.js`
- [Match meter](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/components/MatchMeter.jsx): `frontend/src/components/MatchMeter.jsx`
- [Score ring](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/frontend/src/components/ScoreRing.jsx): `frontend/src/components/ScoreRing.jsx`

### API layer

- [FastAPI application](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/main.py): `backend/app/main.py`
- [API schemas](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/schemas.py): `backend/app/schemas.py`

### Recruiter workflow

- [Recruiter handlers](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/routers/recruiter.py): `backend/app/routers/recruiter.py`
- [Resume extraction](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/services/resume_parser.py): `backend/app/services/resume_parser.py`
- [Candidate retrieval](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/services/vector_service.py): `backend/app/services/vector_service.py`

### Student workflow

- [Student handlers](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/routers/student.py): `backend/app/routers/student.py`

### Persistence and AI

- [Resume evaluation and writing](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/services/llm_service.py): `backend/app/services/llm_service.py`
- [Service settings](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/config.py): `backend/app/config.py`
- [Database sessions](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/database.py): `backend/app/database.py`
- [Domain records](https://github.com/dhruv794/talentsync-ai-intelligent-resume-builder-recruitment-assistant/blob/main/backend/app/models.py): `backend/app/models.py`
- **PostgreSQL**
- **Pinecone index**
- **Gemini API**

### Other components

- **Recruiter or student**

## Connections

- Recruiter or student → Route shell: uses (evidence: `frontend/src/App.jsx`)
- Route shell → Home page: routes to (evidence: `frontend/src/App.jsx`)
- Route shell → Recruiter dashboard: routes to (evidence: `frontend/src/App.jsx`)
- Route shell → Student dashboard: routes to (evidence: `frontend/src/App.jsx`)
- Recruiter dashboard → HTTP client: calls (evidence: `frontend/src/pages/RecruiterDashboard.jsx`)
- Student dashboard → HTTP client: calls (evidence: `frontend/src/pages/StudentDashboard.jsx`)
- Recruiter dashboard → Match meter: renders (evidence: `frontend/src/pages/RecruiterDashboard.jsx`)
- Student dashboard → Score ring: renders (evidence: `frontend/src/pages/StudentDashboard.jsx`)
- HTTP client → FastAPI application: sends requests (evidence: `frontend/src/api/client.js`)
- FastAPI application → Recruiter handlers: registers (evidence: `backend/app/main.py`)
- FastAPI application → Student handlers: registers (evidence: `backend/app/main.py`)
- FastAPI application → Database sessions: creates tables (evidence: `backend/app/main.py`)
- Recruiter handlers → Domain records: reads and writes (evidence: `backend/app/routers/recruiter.py`)
- Recruiter handlers → Database sessions: opens sessions (evidence: `backend/app/routers/recruiter.py`)
- Recruiter handlers → API schemas: validates and returns (evidence: `backend/app/routers/recruiter.py`)
- Recruiter handlers → Resume extraction: extracts resumes (evidence: `backend/app/routers/recruiter.py`)
- Recruiter handlers → Candidate retrieval: indexes and retrieves (evidence: `backend/app/routers/recruiter.py`)
- Recruiter handlers → Resume evaluation and writing: evaluates candidates (evidence: `backend/app/routers/recruiter.py`)
- Student handlers → Resume extraction: extracts uploads (evidence: `backend/app/routers/student.py`)
- Student handlers → Resume evaluation and writing: generates or critiques (evidence: `backend/app/routers/student.py`)
- Student handlers → Domain records: persists outputs (evidence: `backend/app/routers/student.py`)
- Student handlers → Database sessions: opens sessions (evidence: `backend/app/routers/student.py`)
- Student handlers → API schemas: validates and returns (evidence: `backend/app/routers/student.py`)
- Database sessions → Service settings: reads connection setting (evidence: `backend/app/database.py`)
- Database sessions → PostgreSQL: connects to (evidence: `README.md`)
- Domain records → Database sessions: uses base (evidence: `backend/app/models.py`)
- Resume evaluation and writing → Service settings: reads credentials (evidence: `backend/app/services/llm_service.py`)
- Resume evaluation and writing → Gemini API: prompts and generates (evidence: `backend/app/services/llm_service.py`)
- Candidate retrieval → Service settings: reads credentials (evidence: `backend/app/services/vector_service.py`)
- Candidate retrieval → Gemini API: embeds text (evidence: `backend/app/services/vector_service.py`)
- Candidate retrieval → Pinecone index: upserts and queries (evidence: `backend/app/services/vector_service.py`)
