# himanshuattri19/ai-job-finder architecture

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

- Interactive diagram: https://gitdiagram.com/himanshuattri19/ai-job-finder
- Repository: https://github.com/himanshuattri19/ai-job-finder

## Overview

This is a client-side job-search and candidate-workspace demo, not a connected hiring backend. The user enters through the landing or demo-auth flow, then uses workspace pages for resume/profile management, job discovery and matching, employer verification, and application tracking. AppStateContext supplies shared demo state and computes match scores from demo records; the UI presents evidence and requires manual job applications. The source excerpts support routing and several component dependencies, but not every page’s internal behavior or all state updates.

Main entry points: [`src/context/AppStateContext.tsx`](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/context/AppStateContext.tsx) (Demo App State), [`src/App.tsx`](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/App.tsx) (App Router), [`src/components/common/VerificationLabel.tsx`](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/common/VerificationLabel.tsx) (Verification Labels), [`src/pages/JobSearchPage.tsx`](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobSearchPage.tsx) (Job Search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and Workspace"]
  node_app["App Router<br/>[App.tsx]"]
  node_state["Demo App State"]
  node_shell["Workspace Shell<br/>[WorkspaceShell.tsx]"]
  node_landing["Landing Page<br/>[LandingPage.tsx]"]
  node_auth["Demo Authentication<br/>[AuthPage.tsx]"]
  node_demo["Demo Records<br/>[demoData.ts]"]
  node_types["Domain Types<br/>[index.ts]"]
  node_image["Safe Image<br/>[SafeImage.tsx]"]
end

subgraph group_candidate["Candidate Management"]
  node_resume["Resume Upload"]
  node_profile["Candidate Profile"]
end

subgraph group_discovery["Job Discovery and Trust"]
  node_search["Job Search<br/>[JobSearchPage.tsx]"]
  node_matching["Job Matching"]
  node_verification["Job Verification"]
  node_companies["Company Directory<br/>[CompaniesPage.tsx]"]
  node_verifylabel["Verification Labels"]
end

subgraph group_tracking["Dashboard and Tracking"]
  node_dashboard["Dashboard<br/>[DashboardPage.tsx]"]
  node_applications["Application Tracker"]
end

node_user(("Candidate"))

node_user -->|"opens"| node_landing
node_user -->|"opens"| node_auth
node_app -->|"provides state"| node_state
node_app -->|"routes to"| node_landing
node_app -->|"routes to"| node_auth
node_app -->|"wraps workspace"| node_shell
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_resume
node_app -->|"routes to"| node_profile
node_app -->|"routes to"| node_search
node_app -->|"routes to"| node_matching
node_app -->|"routes to"| node_verification
node_app -->|"routes to"| node_companies
node_app -->|"routes to"| node_applications
node_state -->|"loads records"| node_demo
node_state -->|"uses models"| node_types
node_landing -->|"navigates via"| node_state
node_auth -->|"signs in via"| node_state
node_shell -->|"reads navigation"| node_state
node_shell -->|"renders"| node_image
node_resume -->|"updates profile"| node_state
node_profile -->|"reads profile"| node_state
node_search -->|"reads jobs"| node_state
node_search -->|"renders status"| node_verifylabel
node_matching -->|"reads matches"| node_state
node_matching -->|"renders status"| node_verifylabel
node_verification -->|"reads evidence"| node_state
node_verification -->|"renders status"| node_verifylabel
node_companies -->|"reads companies"| node_state
node_companies -->|"renders status"| node_verifylabel
node_dashboard -->|"reads workspace data"| node_state
node_dashboard -->|"renders status"| node_verifylabel
node_applications -->|"reads applications"| node_state
node_applications -->|"renders status"| node_verifylabel
node_state -.->|"scores job fit"| node_search

click node_app "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/App.tsx"
click node_state "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/context/AppStateContext.tsx"
click node_shell "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/layout/WorkspaceShell.tsx"
click node_landing "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/LandingPage.tsx"
click node_auth "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/AuthPage.tsx"
click node_demo "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/data/demoData.ts"
click node_resume "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/ResumeUploadPage.tsx"
click node_profile "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/CandidateProfilePage.tsx"
click node_search "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobSearchPage.tsx"
click node_matching "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobMatchingPage.tsx"
click node_verification "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobVerificationPage.tsx"
click node_companies "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/CompaniesPage.tsx"
click node_verifylabel "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/common/VerificationLabel.tsx"
click node_dashboard "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/DashboardPage.tsx"
click node_applications "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/ApplicationTrackerPage.tsx"
click node_types "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/types/index.ts"
click node_image "https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/common/SafeImage.tsx"

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_state,node_shell,node_landing,node_auth,node_demo,node_types,node_image toneBlue
class node_resume,node_profile toneAmber
class node_search,node_matching,node_verification,node_companies,node_verifylabel toneMint
class node_dashboard,node_applications toneRose
class node_user toneIndigo
```

## Components

### Entry and Workspace

- [App Router](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/App.tsx): `src/App.tsx`
- [Demo App State](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/context/AppStateContext.tsx): `src/context/AppStateContext.tsx`
- [Workspace Shell](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/layout/WorkspaceShell.tsx): `src/components/layout/WorkspaceShell.tsx`
- [Landing Page](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/LandingPage.tsx): `src/pages/LandingPage.tsx`
- [Demo Authentication](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/AuthPage.tsx): `src/pages/AuthPage.tsx`
- [Demo Records](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/data/demoData.ts): `src/data/demoData.ts`
- [Domain Types](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/types/index.ts): `src/types/index.ts`
- [Safe Image](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/common/SafeImage.tsx): `src/components/common/SafeImage.tsx`

### Candidate Management

- [Resume Upload](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/ResumeUploadPage.tsx): `src/pages/ResumeUploadPage.tsx`
- [Candidate Profile](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/CandidateProfilePage.tsx): `src/pages/CandidateProfilePage.tsx`

### Job Discovery and Trust

- [Job Search](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobSearchPage.tsx): `src/pages/JobSearchPage.tsx`
- [Job Matching](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobMatchingPage.tsx): `src/pages/JobMatchingPage.tsx`
- [Job Verification](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/JobVerificationPage.tsx): `src/pages/JobVerificationPage.tsx`
- [Company Directory](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/CompaniesPage.tsx): `src/pages/CompaniesPage.tsx`
- [Verification Labels](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/components/common/VerificationLabel.tsx): `src/components/common/VerificationLabel.tsx`

### Dashboard and Tracking

- [Dashboard](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/DashboardPage.tsx): `src/pages/DashboardPage.tsx`
- [Application Tracker](https://github.com/himanshuattri19/ai-job-finder/blob/main/src/pages/ApplicationTrackerPage.tsx): `src/pages/ApplicationTrackerPage.tsx`

### Other components

- **Candidate**

## Connections

- Candidate → Landing Page: opens (evidence: `src/pages/LandingPage.tsx`)
- Candidate → Demo Authentication: opens (evidence: `src/pages/AuthPage.tsx`)
- App Router → Demo App State: provides state (evidence: `src/App.tsx`)
- App Router → Landing Page: routes to (evidence: `src/App.tsx`)
- App Router → Demo Authentication: routes to (evidence: `src/App.tsx`)
- App Router → Workspace Shell: wraps workspace (evidence: `src/App.tsx`)
- App Router → Dashboard: routes to (evidence: `src/App.tsx`)
- App Router → Resume Upload: routes to (evidence: `src/App.tsx`)
- App Router → Candidate Profile: routes to (evidence: `src/App.tsx`)
- App Router → Job Search: routes to (evidence: `src/App.tsx`)
- App Router → Job Matching: routes to (evidence: `src/App.tsx`)
- App Router → Job Verification: routes to (evidence: `src/App.tsx`)
- App Router → Company Directory: routes to (evidence: `src/App.tsx`)
- App Router → Application Tracker: routes to (evidence: `src/App.tsx`)
- Demo App State → Demo Records: loads records (evidence: `src/context/AppStateContext.tsx`)
- Demo App State → Domain Types: uses models (evidence: `src/context/AppStateContext.tsx`)
- Landing Page → Demo App State: navigates via (evidence: `src/pages/LandingPage.tsx`)
- Demo Authentication → Demo App State: signs in via (evidence: `src/pages/AuthPage.tsx`)
- Workspace Shell → Demo App State: reads navigation (evidence: `src/components/layout/WorkspaceShell.tsx`)
- Workspace Shell → Safe Image: renders (evidence: `src/components/layout/WorkspaceShell.tsx`)
- Resume Upload → Demo App State: updates profile (evidence: `src/pages/ResumeUploadPage.tsx`)
- Candidate Profile → Demo App State: reads profile (evidence: `src/pages/CandidateProfilePage.tsx`)
- Job Search → Demo App State: reads jobs (evidence: `src/pages/JobSearchPage.tsx`)
- Job Search → Verification Labels: renders status (evidence: `src/pages/JobSearchPage.tsx`)
- Job Matching → Demo App State: reads matches (evidence: `src/pages/JobMatchingPage.tsx`)
- Job Matching → Verification Labels: renders status (evidence: `src/pages/JobMatchingPage.tsx`)
- Job Verification → Demo App State: reads evidence (evidence: `src/pages/JobVerificationPage.tsx`)
- Job Verification → Verification Labels: renders status (evidence: `src/pages/JobVerificationPage.tsx`)
- Company Directory → Demo App State: reads companies (evidence: `src/pages/CompaniesPage.tsx`)
- Company Directory → Verification Labels: renders status (evidence: `src/pages/CompaniesPage.tsx`)
- Dashboard → Demo App State: reads workspace data (evidence: `src/pages/DashboardPage.tsx`)
- Dashboard → Verification Labels: renders status (evidence: `src/pages/DashboardPage.tsx`)
- Application Tracker → Demo App State: reads applications (evidence: `src/pages/ApplicationTrackerPage.tsx`)
- Application Tracker → Verification Labels: renders status (evidence: `src/pages/ApplicationTrackerPage.tsx`)
- Demo App State → Job Search: scores job fit (evidence: `src/pages/JobSearchPage.tsx`)
