# arshath-20/careerlens-ai architecture

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

- Interactive diagram: https://gitdiagram.com/arshath-20/careerlens-ai
- Repository: https://github.com/arshath-20/careerlens-ai

## Overview

Devlyzer AI evaluates a candidate’s resume and live developer profiles, then presents a unified career-readiness dashboard with job matching, verification, and coaching. The main workflow starts with profile submission in the frontend, crosses the API client into the FastAPI application, and returns analysis for dashboard views. Resume extraction, ATS scoring, GitHub/LeetCode signals, cross-verification, job matching, and roadmap generation are distinct domain stages. The graph reflects documented capabilities and indexed imports; some backend endpoint internals and frontend rendering details were not sampled, so those links are limited to indexed or README evidence.

Main entry points: [`backend/main.py`](https://github.com/arshath-20/careerlens-ai/blob/main/backend/main.py) (FastAPI application), [`frontend/src/App.jsx`](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/App.jsx) (App dashboard), [`frontend/src/api.js`](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/api.js) (API client), [`backend/services/groq_service.py`](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/groq_service.py) (Groq inference client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Candidate experience"]
  node_submission["Profile submission<br/>[HeroUpload.jsx]"]
  node_app["App dashboard<br/>[App.jsx]"]
  node_api_client["API client<br/>[api.js]"]
  node_results_ui["Analysis dashboard"]
  node_resume_ui["Resume audit view<br/>[ResumeSection.jsx]"]
  node_signals_ui["Developer signals view"]
  node_verification_ui["Proof matrix view"]
  node_jobs_ui["Job matches view"]
  node_copilot_ui["Career copilot view<br/>[CopilotChat.jsx]"]
  node_roadmap_ui["Career roadmap view<br/>[RoadmapSection.jsx]"]
end

subgraph group_api["API orchestration"]
  node_backend["FastAPI application<br/>[main.py]"]
end

subgraph group_evaluation["Profile evaluation"]
  node_parser["Resume PDF parser<br/>[resume_parser.py]"]
  node_analyzer["Resume extraction<br/>[resume_analyzer.py]"]
  node_ats["ATS scoring"]
  node_github["GitHub analytics<br/>[github_service.py]"]
  node_leetcode["LeetCode signals"]
  node_features["Engineering features<br/>[feature_engine.py]"]
  node_readiness["Readiness scoring<br/>[scoring_engine.py]"]
  node_groq["Groq inference client<br/>[groq_service.py]"]
end

subgraph group_insights["Career insights"]
  node_verification["Claim verification<br/>[cross_verifier.py]"]
  node_job_catalog["Curated job catalog<br/>[job_database.py]"]
  node_job_match["Semantic job matching<br/>[job_matcher.py]"]
  node_jd_match["Custom JD matching<br/>[jd_matcher.py]"]
  node_roadmap["Roadmap generation<br/>[roadmap_engine.py]"]
  node_chat["Copilot context<br/>[chat_engine.py]"]
end

subgraph group_persistence["Accounts and history"]
  node_store[("Account and evaluation store<br/>[database.py]")]
end

node_candidate(("Candidate"))
node_groq_service{{"Groq API"}}
node_github_service{{"GitHub API"}}
node_leetcode_service{{"LeetCode API"}}

node_candidate -->|"provides profile"| node_submission
node_submission -->|"submits inputs"| node_app
node_app -->|"requests evaluation"| node_api_client
node_api_client -->|"calls API"| node_backend
node_backend -->|"parses resume"| node_parser
node_backend -->|"extracts profile"| node_analyzer
node_backend -->|"scores resume"| node_ats
node_backend -->|"fetches signals"| node_github
node_backend -->|"fetches signals"| node_leetcode
node_backend -->|"derives features"| node_features
node_backend -->|"scores readiness"| node_readiness
node_readiness -->|"uses features"| node_features
node_backend -->|"checks claims"| node_verification
node_backend -->|"matches roles"| node_job_match
node_job_match -->|"reads roles"| node_job_catalog
node_backend -->|"matches custom JD"| node_jd_match
node_backend -->|"builds roadmap"| node_roadmap
node_roadmap -->|"checks role skills"| node_job_catalog
node_backend -->|"handles chat"| node_chat
node_analyzer -->|"requests extraction"| node_groq
node_roadmap -->|"requests generation"| node_groq
node_chat -->|"requests responses"| node_groq
node_groq -->|"calls inference"| node_groq_service
node_github -.->|"fetches profile data"| node_github_service
node_leetcode -.->|"fetches profile data"| node_leetcode_service
node_backend -->|"reads and writes"| node_store
node_backend -->|"returns analysis"| node_app
node_app -->|"renders results"| node_results_ui
node_app -->|"renders audit"| node_resume_ui
node_app -->|"renders signals"| node_signals_ui
node_app -->|"renders verification"| node_verification_ui
node_app -->|"renders matches"| node_jobs_ui
node_app -->|"renders roadmap"| node_roadmap_ui
node_app -->|"renders copilot"| node_copilot_ui
node_copilot_ui -->|"sends messages"| node_api_client
node_jobs_ui -->|"requests JD match"| node_api_client
node_roadmap_ui -->|"requests roadmap"| node_api_client
node_backend -->|"authenticates users"| node_store

click node_submission "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/HeroUpload.jsx"
click node_app "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/App.jsx"
click node_api_client "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/api.js"
click node_results_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/OverviewSection.jsx"
click node_resume_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/ResumeSection.jsx"
click node_signals_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/DevSignalsSection.jsx"
click node_verification_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/CrossVerificationSection.jsx"
click node_jobs_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/JobMatchesSection.jsx"
click node_copilot_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/CopilotChat.jsx"
click node_roadmap_ui "https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/RoadmapSection.jsx"
click node_backend "https://github.com/arshath-20/careerlens-ai/blob/main/backend/main.py"
click node_store "https://github.com/arshath-20/careerlens-ai/blob/main/backend/database.py"
click node_parser "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/resume_parser.py"
click node_analyzer "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/resume_analyzer.py"
click node_ats "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/score_calculator.py"
click node_github "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/github_service.py"
click node_leetcode "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/leetcode_service.py"
click node_features "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/feature_engine.py"
click node_readiness "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/scoring_engine.py"
click node_verification "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/cross_verifier.py"
click node_job_catalog "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/job_database.py"
click node_job_match "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/job_matcher.py"
click node_jd_match "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/jd_matcher.py"
click node_roadmap "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/roadmap_engine.py"
click node_chat "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/chat_engine.py"
click node_groq "https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/groq_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_submission,node_app,node_api_client,node_results_ui,node_resume_ui,node_signals_ui,node_verification_ui,node_jobs_ui,node_copilot_ui,node_roadmap_ui toneBlue
class node_backend toneAmber
class node_parser,node_analyzer,node_ats,node_github,node_leetcode,node_features,node_readiness,node_groq,node_groq_service,node_github_service,node_leetcode_service toneMint
class node_verification,node_job_catalog,node_job_match,node_jd_match,node_roadmap,node_chat toneRose
class node_store,node_candidate toneIndigo
```

## Components

### Candidate experience

- [Profile submission](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/HeroUpload.jsx): `frontend/src/components/HeroUpload.jsx`
- [App dashboard](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [API client](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/api.js): `frontend/src/api.js`
- [Analysis dashboard](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/OverviewSection.jsx): `frontend/src/components/OverviewSection.jsx`
- [Resume audit view](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/ResumeSection.jsx): `frontend/src/components/ResumeSection.jsx`
- [Developer signals view](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/DevSignalsSection.jsx): `frontend/src/components/DevSignalsSection.jsx`
- [Proof matrix view](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/CrossVerificationSection.jsx): `frontend/src/components/CrossVerificationSection.jsx`
- [Job matches view](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/JobMatchesSection.jsx): `frontend/src/components/JobMatchesSection.jsx`
- [Career copilot view](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/CopilotChat.jsx): `frontend/src/components/CopilotChat.jsx`
- [Career roadmap view](https://github.com/arshath-20/careerlens-ai/blob/main/frontend/src/components/RoadmapSection.jsx): `frontend/src/components/RoadmapSection.jsx`

### API orchestration

- [FastAPI application](https://github.com/arshath-20/careerlens-ai/blob/main/backend/main.py): `backend/main.py`

### Profile evaluation

- [Resume PDF parser](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/resume_parser.py): `backend/services/resume_parser.py`
- [Resume extraction](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/resume_analyzer.py): `backend/services/resume_analyzer.py`
- [ATS scoring](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/score_calculator.py): `backend/services/score_calculator.py`
- [GitHub analytics](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/github_service.py): `backend/services/github_service.py`
- [LeetCode signals](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/leetcode_service.py): `backend/services/leetcode_service.py`
- [Engineering features](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/feature_engine.py): `backend/services/feature_engine.py`
- [Readiness scoring](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/scoring_engine.py): `backend/services/scoring_engine.py`
- [Groq inference client](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/groq_service.py): `backend/services/groq_service.py`

### Career insights

- [Claim verification](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/cross_verifier.py): `backend/services/cross_verifier.py`
- [Curated job catalog](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/job_database.py): `backend/services/job_database.py`
- [Semantic job matching](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/job_matcher.py): `backend/services/job_matcher.py`
- [Custom JD matching](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/jd_matcher.py): `backend/services/jd_matcher.py`
- [Roadmap generation](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/roadmap_engine.py): `backend/services/roadmap_engine.py`
- [Copilot context](https://github.com/arshath-20/careerlens-ai/blob/main/backend/services/chat_engine.py): `backend/services/chat_engine.py`

### Accounts and history

- [Account and evaluation store](https://github.com/arshath-20/careerlens-ai/blob/main/backend/database.py): `backend/database.py`

### Other components

- **Candidate**
- **Groq API**
- **GitHub API**
- **LeetCode API**

## Connections

- Candidate → Profile submission: provides profile (evidence: `README.md`)
- Profile submission → App dashboard: submits inputs (evidence: `frontend/src/App.jsx`)
- App dashboard → API client: requests evaluation (evidence: `frontend/src/App.jsx`)
- API client → FastAPI application: calls API (evidence: `README.md`)
- FastAPI application → Resume PDF parser: parses resume (evidence: `backend/main.py`)
- FastAPI application → Resume extraction: extracts profile (evidence: `backend/main.py`)
- FastAPI application → ATS scoring: scores resume (evidence: `backend/main.py`)
- FastAPI application → GitHub analytics: fetches signals (evidence: `backend/main.py`)
- FastAPI application → LeetCode signals: fetches signals (evidence: `backend/main.py`)
- FastAPI application → Engineering features: derives features (evidence: `backend/main.py`)
- FastAPI application → Readiness scoring: scores readiness (evidence: `backend/main.py`)
- Readiness scoring → Engineering features: uses features (evidence: `backend/services/scoring_engine.py`)
- FastAPI application → Claim verification: checks claims (evidence: `backend/main.py`)
- FastAPI application → Semantic job matching: matches roles (evidence: `backend/main.py`)
- Semantic job matching → Curated job catalog: reads roles (evidence: `backend/services/job_matcher.py`)
- FastAPI application → Custom JD matching: matches custom JD (evidence: `backend/main.py`)
- FastAPI application → Roadmap generation: builds roadmap (evidence: `backend/main.py`)
- Roadmap generation → Curated job catalog: checks role skills (evidence: `backend/services/roadmap_engine.py`)
- FastAPI application → Copilot context: handles chat (evidence: `backend/main.py`)
- Resume extraction → Groq inference client: requests extraction (evidence: `backend/services/resume_analyzer.py`)
- Roadmap generation → Groq inference client: requests generation (evidence: `backend/services/roadmap_engine.py`)
- Copilot context → Groq inference client: requests responses (evidence: `backend/services/chat_engine.py`)
- Groq inference client → Groq API: calls inference (evidence: `backend/services/groq_service.py`)
- GitHub analytics → GitHub API: fetches profile data (evidence: `README.md`)
- LeetCode signals → LeetCode API: fetches profile data (evidence: `README.md`)
- FastAPI application → Account and evaluation store: reads and writes (evidence: `backend/main.py`)
- FastAPI application → App dashboard: returns analysis (evidence: `README.md`)
- App dashboard → Analysis dashboard: renders results (evidence: `frontend/src/App.jsx`)
- App dashboard → Resume audit view: renders audit (evidence: `frontend/src/App.jsx`)
- App dashboard → Developer signals view: renders signals (evidence: `frontend/src/App.jsx`)
- App dashboard → Proof matrix view: renders verification (evidence: `frontend/src/App.jsx`)
- App dashboard → Job matches view: renders matches (evidence: `frontend/src/App.jsx`)
- App dashboard → Career roadmap view: renders roadmap (evidence: `frontend/src/App.jsx`)
- App dashboard → Career copilot view: renders copilot (evidence: `frontend/src/App.jsx`)
- Career copilot view → API client: sends messages (evidence: `frontend/src/components/CopilotChat.jsx`)
- Job matches view → API client: requests JD match (evidence: `frontend/src/components/JobMatchesSection.jsx`)
- Career roadmap view → API client: requests roadmap (evidence: `frontend/src/components/RoadmapSection.jsx`)
- FastAPI application → Account and evaluation store: authenticates users (evidence: `backend/database.py`)
