# nachi12/job_application_tracker architecture

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

- Interactive diagram: https://gitdiagram.com/nachi12/job_application_tracker
- Repository: https://github.com/nachi12/job_application_tracker

## Overview

HireLog is a full-stack job-search tracker. Users sign in, manage applications through list or Kanban views, attach resume versions, and use reminders, analytics, and AI-assisted job and interview preparation. The frontend routes users to feature pages and calls an Express API; backend route handlers delegate feature work to services and persist domain records in MongoDB. The README documents major capabilities, but many feature implementations were not excerpted, so their internal links are omitted or marked unverified rather than inferred.

Main entry points: [`job-tracker-frontend/src/App.tsx`](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/App.tsx) (Route application), [`job-tracker-backend/src/config/db.js`](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/config/db.js) (MongoDB records), [`job-tracker-backend/src/app.js`](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/app.js) (Express API), [`job-tracker-frontend/src/services/apiClient.ts`](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/apiClient.ts) (API client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Web client"]
  node_app["Route application<br/>[App.tsx]"]
  node_dashboard["Dashboard shell"]
  node_authstate["Auth context<br/>[AuthContext.tsx]"]
  node_jobstate["Jobs context<br/>[JobsContext.tsx]"]
  node_jobviews["Application views"]
  node_detail["Application detail"]
  node_api_client["API client<br/>[apiClient.ts]"]
  node_authservice["Auth service<br/>[authService.ts]"]
  node_jobsservice["Jobs service<br/>[jobsService.ts]"]
  node_authstorage["Token storage<br/>[storage.ts]"]
end

subgraph group_api["API and identity"]
  node_backend["Express API<br/>[app.js]"]
  node_authroutes["Auth routes<br/>[authRoutes.js]"]
  node_authcontroller["Auth controller<br/>[authController.js]"]
end

subgraph group_applications["Application lifecycle"]
  node_jobroutes["Job routes<br/>[jobRoutes.js]"]
  node_jobcontroller["Job controller<br/>[jobController.js]"]
  node_jobservice["Job service<br/>[jobService.js]"]
  node_kanban["Kanban workflow<br/>[KanbanPage.tsx]"]
end

subgraph group_career["Career tools"]
  node_ai["AI job intelligence<br/>[aiService.js]"]
  node_aicontroller["AI controller<br/>[aiController.js]"]
  node_airoutes["AI routes<br/>[aiRoutes.js]"]
  node_resumes["Resume management<br/>[resumeService.js]"]
  node_interview["Interview preparation"]
  node_reminders["Reminders and tasks<br/>[reminderService.js]"]
  node_analytics["Application analytics"]
end

subgraph group_persistence["Persistence"]
  node_database[("MongoDB records<br/>[db.js]")]
  node_applications_model["Application model<br/>[JobApplication.js]"]
end

node_user(("Job seeker"))

node_user -->|"uses"| node_app
node_app -->|"routes to"| node_dashboard
node_app -->|"guards routes"| node_authstate
node_dashboard -->|"uses"| node_jobstate
node_app -->|"routes to"| node_jobviews
node_app -->|"routes to"| node_detail
node_app -->|"routes to"| node_kanban
node_authstate -->|"calls"| node_authservice
node_authstate -->|"stores token"| node_authstorage
node_authservice -->|"sends requests"| node_api_client
node_jobstate -->|"calls"| node_jobsservice
node_jobsservice -->|"sends requests"| node_api_client
node_detail -->|"loads application"| node_jobsservice
node_backend -->|"mounts"| node_authroutes
node_backend -->|"mounts"| node_jobroutes
node_backend -->|"mounts"| node_airoutes
node_authroutes -->|"dispatches"| node_authcontroller
node_jobroutes -->|"dispatches"| node_jobcontroller
node_jobcontroller -->|"delegates"| node_jobservice
node_airoutes -->|"dispatches"| node_aicontroller
node_aicontroller -->|"calls"| node_ai
node_jobservice -->|"uses"| node_applications_model
node_authcontroller -.->|"reads and writes"| node_database
node_jobservice -.->|"persists records"| node_database
node_resumes -.->|"persists resumes"| node_database
node_reminders -.->|"persists reminders"| node_database
node_analytics -.->|"reads metrics"| node_database
node_interview -.->|"requests preparation"| node_api_client
node_api_client -.->|"calls API"| node_backend

click node_app "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/App.tsx"
click node_dashboard "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/layouts/DashboardLayout.tsx"
click node_authstate "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/context/AuthContext.tsx"
click node_jobstate "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/context/JobsContext.tsx"
click node_jobviews "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/ApplicationsPage.tsx"
click node_detail "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/ApplicationDetailPage.tsx"
click node_api_client "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/apiClient.ts"
click node_authservice "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/authService.ts"
click node_jobsservice "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/jobsService.ts"
click node_backend "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/app.js"
click node_authroutes "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/routes/authRoutes.js"
click node_authcontroller "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/controllers/authController.js"
click node_jobroutes "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/routes/jobRoutes.js"
click node_jobcontroller "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/controllers/jobController.js"
click node_jobservice "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/jobService.js"
click node_kanban "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/KanbanPage.tsx"
click node_ai "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/aiService.js"
click node_aicontroller "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/controllers/aiController.js"
click node_airoutes "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/routes/aiRoutes.js"
click node_resumes "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/resumeService.js"
click node_interview "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/InterviewPrepPage.tsx"
click node_reminders "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/reminderService.js"
click node_analytics "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/analyticsService.js"
click node_database "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/config/db.js"
click node_applications_model "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/models/JobApplication.js"
click node_authstorage "https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/utils/storage.ts"

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_authstate,node_jobstate,node_jobviews,node_detail,node_api_client,node_authservice,node_jobsservice,node_authstorage toneBlue
class node_backend,node_authroutes,node_authcontroller toneAmber
class node_jobroutes,node_jobcontroller,node_jobservice,node_kanban toneMint
class node_ai,node_aicontroller,node_airoutes,node_resumes,node_interview,node_reminders,node_analytics toneRose
class node_database,node_applications_model,node_user toneIndigo
```

## Components

### Web client

- [Route application](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/App.tsx): `job-tracker-frontend/src/App.tsx`
- [Dashboard shell](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/layouts/DashboardLayout.tsx): `job-tracker-frontend/src/layouts/DashboardLayout.tsx`
- [Auth context](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/context/AuthContext.tsx): `job-tracker-frontend/src/context/AuthContext.tsx`
- [Jobs context](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/context/JobsContext.tsx): `job-tracker-frontend/src/context/JobsContext.tsx`
- [Application views](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/ApplicationsPage.tsx): `job-tracker-frontend/src/pages/ApplicationsPage.tsx`
- [Application detail](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/ApplicationDetailPage.tsx): `job-tracker-frontend/src/pages/ApplicationDetailPage.tsx`
- [API client](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/apiClient.ts): `job-tracker-frontend/src/services/apiClient.ts`
- [Auth service](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/authService.ts): `job-tracker-frontend/src/services/authService.ts`
- [Jobs service](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/services/jobsService.ts): `job-tracker-frontend/src/services/jobsService.ts`
- [Token storage](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/utils/storage.ts): `job-tracker-frontend/src/utils/storage.ts`

### API and identity

- [Express API](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/app.js): `job-tracker-backend/src/app.js`
- [Auth routes](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/routes/authRoutes.js): `job-tracker-backend/src/routes/authRoutes.js`
- [Auth controller](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/controllers/authController.js): `job-tracker-backend/src/controllers/authController.js`

### Application lifecycle

- [Job routes](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/routes/jobRoutes.js): `job-tracker-backend/src/routes/jobRoutes.js`
- [Job controller](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/controllers/jobController.js): `job-tracker-backend/src/controllers/jobController.js`
- [Job service](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/jobService.js): `job-tracker-backend/src/services/jobService.js`
- [Kanban workflow](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/KanbanPage.tsx): `job-tracker-frontend/src/pages/KanbanPage.tsx`

### Career tools

- [AI job intelligence](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/aiService.js): `job-tracker-backend/src/services/aiService.js`
- [AI controller](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/controllers/aiController.js): `job-tracker-backend/src/controllers/aiController.js`
- [AI routes](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/routes/aiRoutes.js): `job-tracker-backend/src/routes/aiRoutes.js`
- [Resume management](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/resumeService.js): `job-tracker-backend/src/services/resumeService.js`
- [Interview preparation](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-frontend/src/pages/InterviewPrepPage.tsx): `job-tracker-frontend/src/pages/InterviewPrepPage.tsx`
- [Reminders and tasks](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/reminderService.js): `job-tracker-backend/src/services/reminderService.js`
- [Application analytics](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/services/analyticsService.js): `job-tracker-backend/src/services/analyticsService.js`

### Persistence

- [MongoDB records](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/config/db.js): `job-tracker-backend/src/config/db.js`
- [Application model](https://github.com/nachi12/job_application_tracker/blob/main/job-tracker-backend/src/models/JobApplication.js): `job-tracker-backend/src/models/JobApplication.js`

### Other components

- **Job seeker**

## Connections

- Job seeker → Route application: uses (evidence: `job-tracker-frontend/src/App.tsx`)
- Route application → Dashboard shell: routes to (evidence: `job-tracker-frontend/src/App.tsx`)
- Route application → Auth context: guards routes (evidence: `job-tracker-frontend/src/App.tsx`)
- Dashboard shell → Jobs context: uses (evidence: `job-tracker-frontend/src/layouts/DashboardLayout.tsx`)
- Route application → Application views: routes to (evidence: `job-tracker-frontend/src/App.tsx`)
- Route application → Application detail: routes to (evidence: `job-tracker-frontend/src/App.tsx`)
- Route application → Kanban workflow: routes to (evidence: `job-tracker-frontend/src/App.tsx`)
- Auth context → Auth service: calls (evidence: `job-tracker-frontend/src/context/AuthContext.tsx`)
- Auth context → Token storage: stores token (evidence: `job-tracker-frontend/src/context/AuthContext.tsx`)
- Auth service → API client: sends requests (evidence: `job-tracker-frontend/src/services/authService.ts`)
- Jobs context → Jobs service: calls (evidence: `job-tracker-frontend/src/context/JobsContext.tsx`)
- Jobs service → API client: sends requests (evidence: `job-tracker-frontend/src/services/jobsService.ts`)
- Application detail → Jobs service: loads application (evidence: `job-tracker-frontend/src/pages/ApplicationDetailPage.tsx`)
- Express API → Auth routes: mounts (evidence: `job-tracker-backend/src/app.js`)
- Express API → Job routes: mounts (evidence: `job-tracker-backend/src/app.js`)
- Express API → AI routes: mounts (evidence: `job-tracker-backend/src/app.js`)
- Auth routes → Auth controller: dispatches (evidence: `job-tracker-backend/src/routes/authRoutes.js`)
- Job routes → Job controller: dispatches (evidence: `job-tracker-backend/src/routes/jobRoutes.js`)
- Job controller → Job service: delegates (evidence: `job-tracker-backend/src/controllers/jobController.js`)
- AI routes → AI controller: dispatches (evidence: `job-tracker-backend/src/routes/aiRoutes.js`)
- AI controller → AI job intelligence: calls (evidence: `job-tracker-backend/src/controllers/aiController.js`)
- Job service → Application model: uses (evidence: `job-tracker-backend/src/services/jobService.js`)
- Auth controller → MongoDB records: reads and writes
- Job service → MongoDB records: persists records
- Resume management → MongoDB records: persists resumes
- Reminders and tasks → MongoDB records: persists reminders
- Application analytics → MongoDB records: reads metrics
- Interview preparation → API client: requests preparation
- API client → Express API: calls API
