# vedanshprakash/jobintel architecture

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

- Interactive diagram: https://gitdiagram.com/vedanshprakash/jobintel
- Repository: https://github.com/vedanshprakash/jobintel

## Overview

JobIntel collects public job postings, enriches and stores them, then exposes analytics, job search, resume matching, and market Q&A through a React UI and FastAPI API. The main ingestion workflow is user/API request → source adapter → orchestration and enrichment → persistent jobs and run history. Separate query workflows serve the dashboard and explorer or retrieve ranked jobs for matching and Q&A. The README documents additional resilience and ML fallback behavior; some connections below rely on those documented capabilities because the corresponding implementation excerpts were not shown.

Main entry points: [`backend/app/main.py`](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/main.py) (FastAPI app), [`backend/app/scraper/orchestrator.py`](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/orchestrator.py) (Ingestion orchestrator), [`backend/app/db/database.py`](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/db/database.py) (JobIntel database), [`frontend/src/App.jsx`](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/App.jsx) (App navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["User interface"]
  node_app["App navigation<br/>[App.jsx]"]
  node_dashboard["Analytics dashboard<br/>[Dashboard.jsx]"]
  node_explorer["Job explorer<br/>[JobExplorer.jsx]"]
  node_resume_ui["Resume matching UI<br/>[ResumeMatcher.jsx]"]
  node_qa_ui["Market Q&amp;A UI<br/>[MarketQA.jsx]"]
  node_client["REST client<br/>[api.js]"]
end

subgraph group_api["API and queries"]
  node_server["FastAPI app<br/>[main.py]"]
  node_jobs_api["Job search API<br/>[routes_jobs.py]"]
  node_analytics_api["Analytics API"]
  node_ingest_api["Ingestion API<br/>[routes_ingest.py]"]
  node_match_api["Resume match API<br/>[routes_match.py]"]
  node_qa_api["Market Q&amp;A API<br/>[routes_qa.py]"]
  node_schemas["API schemas<br/>[schemas.py]"]
end

subgraph group_ingest["Job ingestion"]
  node_scheduler["Scheduled ingestion<br/>[scheduler.py]"]
  node_orchestrator["Ingestion orchestrator<br/>[orchestrator.py]"]
  node_remoteok["RemoteOK adapter<br/>[remoteok.py]"]
  node_arbeitnow["Arbeitnow adapter<br/>[arbeitnow.py]"]
  node_limiter["Adaptive rate limiter<br/>[rate_limiter.py]"]
  node_checkpoint["Run checkpointing<br/>[checkpoint.py]"]
end

subgraph group_ml["ML intelligence"]
  node_skills["Skill extraction<br/>[skill_extractor.py]"]
  node_roles["Role classifier<br/>[role_classifier.py]"]
  node_embeddings["Embedding backend<br/>[embeddings.py]"]
  node_vectors["Vector search<br/>[vector_store.py]"]
  node_matcher["Resume matcher<br/>[resume_matcher.py]"]
  node_market_qa["RAG market Q&amp;A<br/>[market_qa.py]"]
end

subgraph group_data["Persistence"]
  node_database[("JobIntel database<br/>[database.py]")]
  node_models["Job and run records<br/>[models.py]"]
end

node_user(("JobIntel user"))
node_source_api{{"Public job APIs"}}
node_claude{{"Claude API"}}

node_user -->|"uses"| node_app
node_app -->|"renders"| node_dashboard
node_app -->|"renders"| node_explorer
node_app -->|"renders"| node_resume_ui
node_app -->|"renders"| node_qa_ui
node_dashboard -->|"requests analytics"| node_client
node_explorer -->|"requests jobs"| node_client
node_resume_ui -->|"submits resume"| node_client
node_qa_ui -->|"submits question"| node_client
node_client -->|"calls REST"| node_server
node_server -->|"registers routes"| node_jobs_api
node_server -->|"registers routes"| node_analytics_api
node_server -->|"registers routes"| node_ingest_api
node_server -->|"registers routes"| node_match_api
node_server -->|"registers routes"| node_qa_api
node_server -->|"initializes"| node_database
node_server -->|"starts"| node_scheduler
node_jobs_api -->|"queries jobs"| node_database
node_analytics_api -->|"queries metrics"| node_database
node_ingest_api -->|"runs ingestion"| node_orchestrator
node_ingest_api -->|"selects adapter"| node_remoteok
node_ingest_api -->|"selects adapter"| node_arbeitnow
node_scheduler -->|"schedules ingestion"| node_orchestrator
node_orchestrator -.->|"fetches postings"| node_remoteok
node_orchestrator -.->|"fetches postings"| node_arbeitnow
node_remoteok -->|"fetches postings"| node_source_api
node_arbeitnow -->|"fetches postings"| node_source_api
node_remoteok -->|"limits requests"| node_limiter
node_arbeitnow -->|"limits requests"| node_limiter
node_orchestrator -->|"extracts skills"| node_skills
node_orchestrator -->|"classifies role"| node_roles
node_orchestrator -->|"tracks run"| node_checkpoint
node_orchestrator -->|"writes jobs"| node_database
node_checkpoint -->|"records run state"| node_models
node_database -->|"maps tables"| node_models
node_skills -->|"semantic fallback"| node_embeddings
node_match_api -->|"loads jobs"| node_database
node_match_api -->|"ranks resume"| node_matcher
node_matcher -->|"encodes text"| node_embeddings
node_matcher -->|"searches vectors"| node_vectors
node_matcher -->|"extracts resume skills"| node_skills
node_qa_api -->|"loads postings"| node_database
node_qa_api -->|"asks question"| node_market_qa
node_market_qa -->|"encodes query"| node_embeddings
node_market_qa -->|"retrieves postings"| node_vectors
node_market_qa -.->|"synthesizes answer"| node_claude
node_jobs_api -.->|"returns jobs"| node_schemas
node_ingest_api -->|"returns run results"| node_schemas

click node_app "https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/App.jsx"
click node_dashboard "https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/Dashboard.jsx"
click node_explorer "https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/JobExplorer.jsx"
click node_resume_ui "https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/ResumeMatcher.jsx"
click node_qa_ui "https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/MarketQA.jsx"
click node_client "https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/lib/api.js"
click node_server "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/main.py"
click node_jobs_api "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_jobs.py"
click node_analytics_api "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_analytics.py"
click node_ingest_api "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_ingest.py"
click node_match_api "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_match.py"
click node_qa_api "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_qa.py"
click node_scheduler "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/core/scheduler.py"
click node_orchestrator "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/orchestrator.py"
click node_remoteok "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/sources/remoteok.py"
click node_arbeitnow "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/sources/arbeitnow.py"
click node_limiter "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/rate_limiter.py"
click node_checkpoint "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/checkpoint.py"
click node_skills "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/skill_extractor.py"
click node_roles "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/role_classifier.py"
click node_embeddings "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/embeddings.py"
click node_vectors "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/vector_store.py"
click node_matcher "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/resume_matcher.py"
click node_market_qa "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/market_qa.py"
click node_database "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/db/database.py"
click node_models "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/db/models.py"
click node_schemas "https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/schemas.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_dashboard,node_explorer,node_resume_ui,node_qa_ui,node_client,node_user toneBlue
class node_server,node_jobs_api,node_analytics_api,node_ingest_api,node_match_api,node_qa_api,node_schemas toneAmber
class node_scheduler,node_orchestrator,node_remoteok,node_arbeitnow,node_limiter,node_checkpoint,node_source_api,node_claude toneMint
class node_skills,node_roles,node_embeddings,node_vectors,node_matcher,node_market_qa toneRose
class node_database,node_models toneIndigo
```

## Components

### User interface

- [App navigation](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Analytics dashboard](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/Dashboard.jsx): `frontend/src/components/Dashboard.jsx`
- [Job explorer](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/JobExplorer.jsx): `frontend/src/components/JobExplorer.jsx`
- [Resume matching UI](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/ResumeMatcher.jsx): `frontend/src/components/ResumeMatcher.jsx`
- [Market Q&A UI](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/components/MarketQA.jsx): `frontend/src/components/MarketQA.jsx`
- [REST client](https://github.com/vedanshprakash/jobintel/blob/main/frontend/src/lib/api.js): `frontend/src/lib/api.js`

### API and queries

- [FastAPI app](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/main.py): `backend/app/main.py`
- [Job search API](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_jobs.py): `backend/app/api/routes_jobs.py`
- [Analytics API](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_analytics.py): `backend/app/api/routes_analytics.py`
- [Ingestion API](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_ingest.py): `backend/app/api/routes_ingest.py`
- [Resume match API](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_match.py): `backend/app/api/routes_match.py`
- [Market Q&A API](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/routes_qa.py): `backend/app/api/routes_qa.py`
- [API schemas](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/api/schemas.py): `backend/app/api/schemas.py`

### Job ingestion

- [Scheduled ingestion](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/core/scheduler.py): `backend/app/core/scheduler.py`
- [Ingestion orchestrator](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/orchestrator.py): `backend/app/scraper/orchestrator.py`
- [RemoteOK adapter](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/sources/remoteok.py): `backend/app/scraper/sources/remoteok.py`
- [Arbeitnow adapter](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/sources/arbeitnow.py): `backend/app/scraper/sources/arbeitnow.py`
- [Adaptive rate limiter](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/rate_limiter.py): `backend/app/scraper/rate_limiter.py`
- [Run checkpointing](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/scraper/checkpoint.py): `backend/app/scraper/checkpoint.py`

### ML intelligence

- [Skill extraction](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/skill_extractor.py): `backend/app/ml/skill_extractor.py`
- [Role classifier](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/role_classifier.py): `backend/app/ml/role_classifier.py`
- [Embedding backend](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/embeddings.py): `backend/app/ml/embeddings.py`
- [Vector search](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/vector_store.py): `backend/app/ml/vector_store.py`
- [Resume matcher](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/resume_matcher.py): `backend/app/ml/resume_matcher.py`
- [RAG market Q&A](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/ml/market_qa.py): `backend/app/ml/market_qa.py`

### Persistence

- [JobIntel database](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/db/database.py): `backend/app/db/database.py`
- [Job and run records](https://github.com/vedanshprakash/jobintel/blob/main/backend/app/db/models.py): `backend/app/db/models.py`

### Other components

- **JobIntel user**
- **Public job APIs**
- **Claude API**

## Connections

- JobIntel user → App navigation: uses
- App navigation → Analytics dashboard: renders (evidence: `frontend/src/App.jsx`)
- App navigation → Job explorer: renders (evidence: `frontend/src/App.jsx`)
- App navigation → Resume matching UI: renders (evidence: `frontend/src/App.jsx`)
- App navigation → Market Q&A UI: renders (evidence: `frontend/src/App.jsx`)
- Analytics dashboard → REST client: requests analytics (evidence: `frontend/src/components/Dashboard.jsx`)
- Job explorer → REST client: requests jobs (evidence: `frontend/src/components/JobExplorer.jsx`)
- Resume matching UI → REST client: submits resume (evidence: `frontend/src/components/ResumeMatcher.jsx`)
- Market Q&A UI → REST client: submits question (evidence: `frontend/src/components/MarketQA.jsx`)
- REST client → FastAPI app: calls REST
- FastAPI app → Job search API: registers routes (evidence: `backend/app/main.py`)
- FastAPI app → Analytics API: registers routes (evidence: `backend/app/main.py`)
- FastAPI app → Ingestion API: registers routes (evidence: `backend/app/main.py`)
- FastAPI app → Resume match API: registers routes (evidence: `backend/app/main.py`)
- FastAPI app → Market Q&A API: registers routes (evidence: `backend/app/main.py`)
- FastAPI app → JobIntel database: initializes (evidence: `backend/app/main.py`)
- FastAPI app → Scheduled ingestion: starts (evidence: `backend/app/main.py`)
- Job search API → JobIntel database: queries jobs (evidence: `backend/app/api/routes_jobs.py`)
- Analytics API → JobIntel database: queries metrics (evidence: `backend/app/api/routes_analytics.py`)
- Ingestion API → Ingestion orchestrator: runs ingestion (evidence: `backend/app/api/routes_ingest.py`)
- Ingestion API → RemoteOK adapter: selects adapter (evidence: `backend/app/api/routes_ingest.py`)
- Ingestion API → Arbeitnow adapter: selects adapter (evidence: `backend/app/api/routes_ingest.py`)
- Scheduled ingestion → Ingestion orchestrator: schedules ingestion (evidence: `backend/app/core/scheduler.py`)
- Ingestion orchestrator → RemoteOK adapter: fetches postings
- Ingestion orchestrator → Arbeitnow adapter: fetches postings
- RemoteOK adapter → Public job APIs: fetches postings
- Arbeitnow adapter → Public job APIs: fetches postings
- RemoteOK adapter → Adaptive rate limiter: limits requests (evidence: `backend/app/scraper/sources/remoteok.py`)
- Arbeitnow adapter → Adaptive rate limiter: limits requests (evidence: `backend/app/scraper/sources/arbeitnow.py`)
- Ingestion orchestrator → Skill extraction: extracts skills (evidence: `backend/app/scraper/orchestrator.py`)
- Ingestion orchestrator → Role classifier: classifies role (evidence: `backend/app/scraper/orchestrator.py`)
- Ingestion orchestrator → Run checkpointing: tracks run (evidence: `backend/app/scraper/orchestrator.py`)
- Ingestion orchestrator → JobIntel database: writes jobs (evidence: `backend/app/scraper/orchestrator.py`)
- Run checkpointing → Job and run records: records run state (evidence: `backend/app/scraper/checkpoint.py`)
- JobIntel database → Job and run records: maps tables (evidence: `backend/app/db/database.py`)
- Skill extraction → Embedding backend: semantic fallback (evidence: `backend/app/ml/skill_extractor.py`)
- Resume match API → JobIntel database: loads jobs (evidence: `backend/app/api/routes_match.py`)
- Resume match API → Resume matcher: ranks resume (evidence: `backend/app/api/routes_match.py`)
- Resume matcher → Embedding backend: encodes text (evidence: `backend/app/ml/resume_matcher.py`)
- Resume matcher → Vector search: searches vectors (evidence: `backend/app/ml/resume_matcher.py`)
- Resume matcher → Skill extraction: extracts resume skills (evidence: `backend/app/ml/resume_matcher.py`)
- Market Q&A API → JobIntel database: loads postings (evidence: `backend/app/api/routes_qa.py`)
- Market Q&A API → RAG market Q&A: asks question (evidence: `backend/app/api/routes_qa.py`)
- RAG market Q&A → Embedding backend: encodes query (evidence: `backend/app/ml/market_qa.py`)
- RAG market Q&A → Vector search: retrieves postings (evidence: `backend/app/ml/market_qa.py`)
- RAG market Q&A → Claude API: synthesizes answer
- Job search API → API schemas: returns jobs (evidence: `backend/app/api/routes_jobs.py`)
- Ingestion API → API schemas: returns run results (evidence: `backend/app/api/routes_ingest.py`)
