# varshinimishra123/careerforge architecture

> Architecture diagram of the GitHub repository varshinimishra123/careerforge, 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/varshinimishra123/careerforge
- Repository: https://github.com/varshinimishra123/careerforge

## Overview

CareerForge is a placement-intelligence platform: students upload resumes, inspect resume and ATS analysis, compare their profiles with jobs, review recommendations, and prepare for interviews. The frontend calls a FastAPI backend; API routes coordinate resume, job, dashboard, application, and interview capabilities with analysis services and persistent models. The README documents semantic matching, skill-gap detection, and recommendations; the source index identifies their backend modules, but their internal call details were not sampled. Interview preparation and application tracking are separate workflows. The AI career assistant is described as a future enhancement, not an implemented capability.

Main entry points: [`backend/app/api/jobs.py`](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/jobs.py) (Job routes), [`frontend/services`](https://github.com/varshinimishra123/careerforge/tree/main/frontend/services) (API client services), [`backend/app/api/resume.py`](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/resume.py) (Resume routes), [`backend/app/db/database.py`](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/db/database.py) (Database sessions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Student experience"]
  node_resume_ui["Resume screens<br/>[page.tsx]"]
  node_analysis_ui["Analysis screen<br/>[page.tsx]"]
  node_jobs_ui["Job browser<br/>[page.tsx]"]
  node_recommendations_ui["Recommendations screen<br/>[page.tsx]"]
  node_dashboard_ui["Placement dashboard<br/>[page.tsx]"]
  node_applications_ui["Application tracker<br/>[page.tsx]"]
  node_interview_ui["Interview screens<br/>[page.tsx]"]
  node_frontend_services["API client services"]
end

subgraph group_api["Backend API"]
  node_api_app["Application routes<br/>[application.py]"]
  node_api_auth["Authentication routes<br/>[auth.py]"]
  node_api_resume["Resume routes<br/>[resume.py]"]
  node_api_jobs["Job routes<br/>[jobs.py]"]
  node_api_dashboard["Dashboard routes<br/>[dashboard.py]"]
  node_api_interview["Interview routes<br/>[interview.py]"]
end

subgraph group_intelligence["Career intelligence"]
  node_ats["ATS analysis<br/>[ats.py]"]
  node_job_ats["Job ATS analysis<br/>[job_ats.py]"]
  node_job_matcher["Job matching<br/>[job_matcher.py]"]
  node_recommender["Job recommendations<br/>[recommender.py]"]
  node_semantic["Semantic matching"]
  node_skill_extractor["Skill extraction<br/>[skill_extractor.py]"]
  node_vector_store[("Vector search<br/>[vector_store.py]")]
  node_embedding["Embedding model<br/>[embedding_model.py]"]
  node_job_analysis["Job analysis<br/>[job_analysis.py]"]
end

subgraph group_records["Persistence and interviews"]
  node_database[("Database sessions<br/>[database.py]")]
  node_models[("Domain records")]
  node_interview_service["Interview service"]
  node_question_bank["Question bank<br/>[question_bank.py]"]
end

node_student(("Student"))

node_student -->|"uploads resume"| node_resume_ui
node_resume_ui -->|"requests resume API"| node_frontend_services
node_analysis_ui -->|"requests analysis"| node_frontend_services
node_jobs_ui -->|"requests jobs"| node_frontend_services
node_recommendations_ui -->|"requests recommendations"| node_frontend_services
node_applications_ui -->|"requests applications"| node_frontend_services
node_interview_ui -.->|"requests interviews"| node_frontend_services
node_frontend_services -->|"calls auth endpoints"| node_api_auth
node_frontend_services -.->|"calls resume endpoints"| node_api_resume
node_frontend_services -.->|"calls job endpoints"| node_api_jobs
node_frontend_services -.->|"calls application endpoints"| node_api_app
node_api_app -->|"opens sessions"| node_database
node_api_app -->|"queries applications"| node_models
node_api_auth -->|"opens sessions"| node_database
node_api_auth -->|"queries users"| node_models
node_api_auth -->|"uses token security"| node_api_auth
node_api_resume -->|"uses sessions"| node_database
node_api_resume -->|"reads resumes"| node_models
node_api_resume -->|"uses extraction"| node_skill_extractor
node_api_resume -->|"uses matching"| node_job_matcher
node_api_resume -->|"uses job ATS"| node_job_ats
node_api_resume -->|"uses recommendations"| node_recommender
node_api_resume -->|"uses ATS"| node_ats
node_api_jobs -->|"uses sessions"| node_database
node_api_jobs -->|"queries jobs"| node_models
node_api_jobs -->|"uses matching"| node_job_matcher
node_api_jobs -->|"uses job ATS"| node_job_ats
node_api_jobs -->|"uses recommendations"| node_recommender
node_api_jobs -->|"uses semantic matching"| node_semantic
node_api_jobs -->|"uses job analysis"| node_job_analysis
node_api_jobs -->|"uses vector search"| node_vector_store
node_api_jobs -->|"uses embeddings"| node_embedding
node_api_dashboard -->|"uses sessions"| node_database
node_api_dashboard -->|"queries metrics"| node_models
node_api_dashboard -->|"uses ATS"| node_ats
node_api_dashboard -->|"uses job ATS"| node_job_ats
node_api_interview -->|"uses sessions"| node_database
node_api_interview -->|"delegates interviews"| node_interview_service
node_interview_service -->|"reads and writes sessions"| node_models
node_interview_service -->|"selects questions"| node_question_bank

click node_resume_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/upload/page.tsx"
click node_analysis_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/analysis/page.tsx"
click node_jobs_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/jobs/page.tsx"
click node_recommendations_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/recommendations/page.tsx"
click node_dashboard_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/dashboard/page.tsx"
click node_applications_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/applications/page.tsx"
click node_interview_ui "https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/interview/page.tsx"
click node_frontend_services "https://github.com/varshinimishra123/careerforge/tree/main/frontend/services"
click node_api_app "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/application.py"
click node_api_auth "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/auth.py"
click node_api_resume "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/resume.py"
click node_api_jobs "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/jobs.py"
click node_api_dashboard "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/dashboard.py"
click node_api_interview "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/interview.py"
click node_ats "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/ats.py"
click node_job_ats "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/job_ats.py"
click node_job_matcher "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/job_matcher.py"
click node_recommender "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/recommender.py"
click node_semantic "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/semantic_matcher.py"
click node_skill_extractor "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/skill_extractor.py"
click node_vector_store "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/vector_store.py"
click node_embedding "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/embedding_model.py"
click node_job_analysis "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/job_analysis.py"
click node_database "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/db/database.py"
click node_models "https://github.com/varshinimishra123/careerforge/tree/main/backend/app/models"
click node_interview_service "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/interview_service.py"
click node_question_bank "https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/question_bank.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_resume_ui,node_analysis_ui,node_jobs_ui,node_recommendations_ui,node_dashboard_ui,node_applications_ui,node_interview_ui,node_frontend_services toneBlue
class node_api_app,node_api_auth,node_api_resume,node_api_jobs,node_api_dashboard,node_api_interview toneAmber
class node_ats,node_job_ats,node_job_matcher,node_recommender,node_semantic,node_skill_extractor,node_vector_store,node_embedding,node_job_analysis toneMint
class node_database,node_models,node_interview_service,node_question_bank toneRose
class node_student toneIndigo
```

## Components

### Student experience

- [Resume screens](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/upload/page.tsx): `frontend/app/(main)/upload/page.tsx`
- [Analysis screen](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/analysis/page.tsx): `frontend/app/(main)/analysis/page.tsx`
- [Job browser](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/jobs/page.tsx): `frontend/app/(main)/jobs/page.tsx`
- [Recommendations screen](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/recommendations/page.tsx): `frontend/app/(main)/recommendations/page.tsx`
- [Placement dashboard](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/dashboard/page.tsx): `frontend/app/(main)/dashboard/page.tsx`
- [Application tracker](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/applications/page.tsx): `frontend/app/(main)/applications/page.tsx`
- [Interview screens](https://github.com/varshinimishra123/careerforge/blob/main/frontend/app/(main)/interview/page.tsx): `frontend/app/(main)/interview/page.tsx`
- [API client services](https://github.com/varshinimishra123/careerforge/tree/main/frontend/services): `frontend/services`

### Backend API

- [Application routes](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/application.py): `backend/app/api/application.py`
- [Authentication routes](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/auth.py): `backend/app/api/auth.py`
- [Resume routes](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/resume.py): `backend/app/api/resume.py`
- [Job routes](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/jobs.py): `backend/app/api/jobs.py`
- [Dashboard routes](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/dashboard.py): `backend/app/api/dashboard.py`
- [Interview routes](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/api/interview.py): `backend/app/api/interview.py`

### Career intelligence

- [ATS analysis](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/ats.py): `backend/app/services/ats.py`
- [Job ATS analysis](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/job_ats.py): `backend/app/services/job_ats.py`
- [Job matching](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/job_matcher.py): `backend/app/services/job_matcher.py`
- [Job recommendations](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/recommender.py): `backend/app/services/recommender.py`
- [Semantic matching](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/semantic_matcher.py): `backend/app/services/semantic_matcher.py`
- [Skill extraction](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/skill_extractor.py): `backend/app/services/skill_extractor.py`
- [Vector search](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/vector_store.py): `backend/app/services/vector_store.py`
- [Embedding model](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/embedding_model.py): `backend/app/services/embedding_model.py`
- [Job analysis](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/job_analysis.py): `backend/app/services/job_analysis.py`

### Persistence and interviews

- [Database sessions](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/db/database.py): `backend/app/db/database.py`
- [Domain records](https://github.com/varshinimishra123/careerforge/tree/main/backend/app/models): `backend/app/models`
- [Interview service](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/interview_service.py): `backend/app/services/interview_service.py`
- [Question bank](https://github.com/varshinimishra123/careerforge/blob/main/backend/app/services/question_bank.py): `backend/app/services/question_bank.py`

### Other components

- **Student**

## Connections

- Student → Resume screens: uploads resume
- Resume screens → API client services: requests resume API (evidence: `frontend/app/(main)/upload/page.tsx`)
- Analysis screen → API client services: requests analysis (evidence: `frontend/app/(main)/analysis/page.tsx`)
- Job browser → API client services: requests jobs (evidence: `frontend/app/(main)/jobs/page.tsx`)
- Recommendations screen → API client services: requests recommendations (evidence: `frontend/app/(main)/recommendations/page.tsx`)
- Application tracker → API client services: requests applications (evidence: `frontend/app/(main)/applications/page.tsx`)
- Interview screens → API client services: requests interviews
- API client services → Authentication routes: calls auth endpoints (evidence: `frontend/services/auth.ts`)
- API client services → Resume routes: calls resume endpoints
- API client services → Job routes: calls job endpoints
- API client services → Application routes: calls application endpoints
- Application routes → Database sessions: opens sessions (evidence: `backend/app/api/application.py`)
- Application routes → Domain records: queries applications (evidence: `backend/app/api/application.py`)
- Authentication routes → Database sessions: opens sessions (evidence: `backend/app/api/auth.py`)
- Authentication routes → Domain records: queries users (evidence: `backend/app/api/auth.py`)
- Authentication routes → Authentication routes: uses token security (evidence: `backend/app/api/auth.py`)
- Resume routes → Database sessions: uses sessions (evidence: `backend/app/api/resume.py`)
- Resume routes → Domain records: reads resumes (evidence: `backend/app/api/resume.py`)
- Resume routes → Skill extraction: uses extraction (evidence: `backend/app/api/resume.py`)
- Resume routes → Job matching: uses matching (evidence: `backend/app/api/resume.py`)
- Resume routes → Job ATS analysis: uses job ATS (evidence: `backend/app/api/resume.py`)
- Resume routes → Job recommendations: uses recommendations (evidence: `backend/app/api/resume.py`)
- Resume routes → ATS analysis: uses ATS (evidence: `backend/app/api/resume.py`)
- Job routes → Database sessions: uses sessions (evidence: `backend/app/api/jobs.py`)
- Job routes → Domain records: queries jobs (evidence: `backend/app/api/jobs.py`)
- Job routes → Job matching: uses matching (evidence: `backend/app/api/jobs.py`)
- Job routes → Job ATS analysis: uses job ATS (evidence: `backend/app/api/jobs.py`)
- Job routes → Job recommendations: uses recommendations (evidence: `backend/app/api/jobs.py`)
- Job routes → Semantic matching: uses semantic matching (evidence: `backend/app/api/jobs.py`)
- Job routes → Job analysis: uses job analysis (evidence: `backend/app/api/jobs.py`)
- Job routes → Vector search: uses vector search (evidence: `backend/app/api/jobs.py`)
- Job routes → Embedding model: uses embeddings (evidence: `backend/app/api/jobs.py`)
- Dashboard routes → Database sessions: uses sessions (evidence: `backend/app/api/dashboard.py`)
- Dashboard routes → Domain records: queries metrics (evidence: `backend/app/api/dashboard.py`)
- Dashboard routes → ATS analysis: uses ATS (evidence: `backend/app/api/dashboard.py`)
- Dashboard routes → Job ATS analysis: uses job ATS (evidence: `backend/app/api/dashboard.py`)
- Interview routes → Database sessions: uses sessions (evidence: `backend/app/api/interview.py`)
- Interview routes → Interview service: delegates interviews (evidence: `backend/app/api/interview.py`)
- Interview service → Domain records: reads and writes sessions (evidence: `backend/app/services/interview_service.py`)
- Interview service → Question bank: selects questions (evidence: `backend/app/services/interview_service.py`)
