# akshay-kumar-singh/job-search architecture

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

- Interactive diagram: https://gitdiagram.com/akshay-kumar-singh/job-search
- Repository: https://github.com/akshay-kumar-singh/job-search

## Overview

Job Search is a personal job-finding and application-tracking product. GitHub Actions runs the collector, which scans public career pages and job boards, filters and scores openings, and publishes JSON data to a repository branch. The React app reads that data for country, stretch, and fintech browsing; users apply on employers’ sites and track applications locally or through Netlify Blobs. The map follows documented flows and shown imports/calls; collector internals and several UI interactions were not sampled, so those details are represented at subsystem level.

Main entry points: [`web/src/App.tsx`](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/App.tsx) (App coordinator), [`web/src/lib/storage.ts`](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/storage.ts) (Browser state), [`web/src/components/Applications.tsx`](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/Applications.tsx) (Applications view), [`collector/jobbot.py`](https://github.com/akshay-kumar-singh/job-search/blob/main/collector/jobbot.py) (Collect, filter, score)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_collect["Job collection"]
  node_collector["Collect, filter, score<br/>[jobbot.py]"]
  node_profile["Search profile<br/>[config.json]"]
end

subgraph group_publish["Published job data"]
  node_data[("Jobs and metadata")]
  node_githubdata[("GitHub data branch")]
end

subgraph group_browse["Job browsing"]
  node_app["App coordinator<br/>[App.tsx]"]
  node_api["Job data API<br/>[api.ts]"]
  node_country["Country filters<br/>[CountryBar.tsx]"]
  node_joblist["Job lists<br/>[JobList.tsx]"]
  node_jobcard["Job cards<br/>[JobCard.tsx]"]
  node_fintech["Fintech directory"]
  node_how["How it works<br/>[HowItWorks.tsx]"]
  node_skeleton["Loading state<br/>[ListSkeleton.tsx]"]
  node_pagination["Pagination controls<br/>[Pagination.tsx]"]
  node_paging["Paging logic<br/>[paging.ts]"]
  node_format["Date and job formatting<br/>[format.ts]"]
end

subgraph group_track["Application tracking"]
  node_storage["Browser state<br/>[storage.ts]"]
  node_applications["Applications view<br/>[Applications.tsx]"]
  node_sync["Sync and merge rules<br/>[sync.ts]"]
  node_function["Applications function<br/>[applications.mts]"]
  node_blobs[("Netlify Blobs")]
end

node_person(("Job seeker"))
node_actions(("GitHub Actions"))
node_sources(("Career pages and boards"))
node_netlify["Netlify site"]

node_actions -->|"runs every six hours"| node_collector
node_sources -->|"provides listings"| node_collector
node_profile -->|"sets matching profile"| node_collector
node_collector -->|"produces JSON"| node_data
node_data -->|"published to"| node_githubdata
node_netlify -->|"serves"| node_app
node_app -->|"fetches job data"| node_api
node_api -->|"reads branch data"| node_githubdata
node_app -->|"renders"| node_country
node_app -->|"renders"| node_joblist
node_app -->|"renders"| node_fintech
node_app -->|"renders"| node_how
node_app -->|"renders"| node_skeleton
node_app -->|"renders"| node_applications
node_joblist -.->|"displays job details"| node_jobcard
node_joblist -.->|"pages results"| node_pagination
node_applications -->|"pages results"| node_pagination
node_pagination -->|"uses page logic"| node_paging
node_fintech -->|"pages directory"| node_paging
node_app -->|"loads application state"| node_storage
node_applications -->|"updates tracked jobs"| node_storage
node_storage -->|"validates and merges"| node_sync
node_storage -->|"synchronizes online"| node_function
node_function -->|"reads and writes"| node_blobs
node_person -->|"browses jobs"| node_app
node_person -->|"tracks applications"| node_applications

click node_collector "https://github.com/akshay-kumar-singh/job-search/blob/main/collector/jobbot.py"
click node_profile "https://github.com/akshay-kumar-singh/job-search/blob/main/collector/config.json"
click node_app "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/App.tsx"
click node_api "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/api.ts"
click node_country "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/CountryBar.tsx"
click node_joblist "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/JobList.tsx"
click node_jobcard "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/JobCard.tsx"
click node_fintech "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/FintechCompanies.tsx"
click node_how "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/HowItWorks.tsx"
click node_skeleton "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/ListSkeleton.tsx"
click node_pagination "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/Pagination.tsx"
click node_paging "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/paging.ts"
click node_format "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/format.ts"
click node_storage "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/storage.ts"
click node_applications "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/Applications.tsx"
click node_sync "https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/sync.ts"
click node_function "https://github.com/akshay-kumar-singh/job-search/blob/main/web/netlify/functions/applications.mts"

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_collector,node_profile toneBlue
class node_data,node_githubdata toneAmber
class node_app,node_api,node_country,node_joblist,node_jobcard,node_fintech,node_how,node_skeleton,node_pagination,node_paging,node_format toneMint
class node_storage,node_applications,node_sync,node_function,node_blobs toneRose
class node_person,node_actions,node_sources,node_netlify toneIndigo
```

## Components

### Job collection

- [Collect, filter, score](https://github.com/akshay-kumar-singh/job-search/blob/main/collector/jobbot.py): `collector/jobbot.py`
- [Search profile](https://github.com/akshay-kumar-singh/job-search/blob/main/collector/config.json): `collector/config.json`

### Published job data

- **Jobs and metadata**
- **GitHub data branch**

### Job browsing

- [App coordinator](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/App.tsx): `web/src/App.tsx`
- [Job data API](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/api.ts): `web/src/lib/api.ts`
- [Country filters](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/CountryBar.tsx): `web/src/components/CountryBar.tsx`
- [Job lists](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/JobList.tsx): `web/src/components/JobList.tsx`
- [Job cards](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/JobCard.tsx): `web/src/components/JobCard.tsx`
- [Fintech directory](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/FintechCompanies.tsx): `web/src/components/FintechCompanies.tsx`
- [How it works](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/HowItWorks.tsx): `web/src/components/HowItWorks.tsx`
- [Loading state](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/ListSkeleton.tsx): `web/src/components/ListSkeleton.tsx`
- [Pagination controls](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/Pagination.tsx): `web/src/components/Pagination.tsx`
- [Paging logic](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/paging.ts): `web/src/lib/paging.ts`
- [Date and job formatting](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/format.ts): `web/src/lib/format.ts`

### Application tracking

- [Browser state](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/storage.ts): `web/src/lib/storage.ts`
- [Applications view](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/components/Applications.tsx): `web/src/components/Applications.tsx`
- [Sync and merge rules](https://github.com/akshay-kumar-singh/job-search/blob/main/web/src/lib/sync.ts): `web/src/lib/sync.ts`
- [Applications function](https://github.com/akshay-kumar-singh/job-search/blob/main/web/netlify/functions/applications.mts): `web/netlify/functions/applications.mts`
- **Netlify Blobs**

### Other components

- **Job seeker**
- **GitHub Actions**
- **Career pages and boards**
- **Netlify site**

## Connections

- GitHub Actions → Collect, filter, score: runs every six hours (evidence: `README.md`)
- Career pages and boards → Collect, filter, score: provides listings (evidence: `README.md`)
- Search profile → Collect, filter, score: sets matching profile (evidence: `README.md`)
- Collect, filter, score → Jobs and metadata: produces JSON (evidence: `README.md`)
- Jobs and metadata → GitHub data branch: published to (evidence: `README.md`)
- Netlify site → App coordinator: serves (evidence: `README.md`)
- App coordinator → Job data API: fetches job data (evidence: `web/src/App.tsx`)
- Job data API → GitHub data branch: reads branch data (evidence: `README.md`)
- App coordinator → Country filters: renders (evidence: `web/src/App.tsx`)
- App coordinator → Job lists: renders (evidence: `web/src/App.tsx`)
- App coordinator → Fintech directory: renders (evidence: `web/src/App.tsx`)
- App coordinator → How it works: renders (evidence: `web/src/App.tsx`)
- App coordinator → Loading state: renders (evidence: `web/src/App.tsx`)
- App coordinator → Applications view: renders (evidence: `web/src/App.tsx`)
- Job lists → Job cards: displays job details
- Job lists → Pagination controls: pages results
- Applications view → Pagination controls: pages results (evidence: `web/src/components/Applications.tsx`)
- Pagination controls → Paging logic: uses page logic (evidence: `web/src/components/Pagination.tsx`)
- Fintech directory → Paging logic: pages directory (evidence: `web/src/components/FintechCompanies.tsx`)
- App coordinator → Browser state: loads application state (evidence: `web/src/App.tsx`)
- Applications view → Browser state: updates tracked jobs (evidence: `web/src/components/Applications.tsx`)
- Browser state → Sync and merge rules: validates and merges (evidence: `web/src/lib/storage.ts`)
- Browser state → Applications function: synchronizes online (evidence: `README.md`)
- Applications function → Netlify Blobs: reads and writes (evidence: `web/netlify/functions/applications.mts`)
- Job seeker → App coordinator: browses jobs (evidence: `README.md`)
- Job seeker → Applications view: tracks applications (evidence: `README.md`)
