# siddhantthakur132/myjobtracker architecture

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

- Interactive diagram: https://gitdiagram.com/siddhantthakur132/myjobtracker
- Repository: https://github.com/siddhantthakur132/myjobtracker

## Overview

JobTrackr is a job-application tracking web app. A signed-in user loads a dashboard, adds applications, and manages them in table or Kanban views; the dashboard also presents status summaries and reminders. Application state is fetched from and persisted to Supabase, with dashboard refreshes on application-table changes. The tree also includes a browser extension and an extension-sync function, but the README is a placeholder and the available excerpts do not establish their runtime wiring, so those links are left out.

Main entry points: [`src/pages/Index.tsx`](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/Index.tsx) (Dashboard page), [`src/store/useAppStore.ts`](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/store/useAppStore.ts) (Applications store), [`src/App.tsx`](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/App.tsx) (App router), [`src/pages/Auth.tsx`](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/Auth.tsx) (Sign-in page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_app["App router<br/>[App.tsx]"]
  node_dashboard["Dashboard page<br/>[Index.tsx]"]
  node_authpage["Sign-in page<br/>[Auth.tsx]"]
  node_notfound["Not-found page<br/>[NotFound.tsx]"]
end

subgraph group_tracking["Application tracking"]
  node_applications["Applications store<br/>[useAppStore.ts]"]
  node_applicationdata["Application model<br/>[application.ts]"]
  node_addapplication["Add application"]
  node_table["Application table"]
  node_kanban["Kanban board<br/>[KanbanBoard.tsx]"]
end

subgraph group_insights["Dashboard insights"]
  node_stats["Stats cards<br/>[StatsCards.tsx]"]
  node_breakdown["Status breakdown"]
  node_reminders["Smart reminders<br/>[SmartReminders.tsx]"]
  node_reminderstore["Reminder store"]
end

subgraph group_identity["Identity and data"]
  node_auth["Auth context<br/>[useAuth.tsx]"]
  node_authclient["Supabase client<br/>[client.ts]"]
  node_lovable["OAuth integration<br/>[index.ts]"]
  node_backend["Supabase backend"]
  node_applicationdb[("Applications table")]
end

subgraph group_extension["Browser extension"]
  node_extensiondownload["Extension download"]
  node_extcontent["Page content script<br/>[content.js]"]
  node_extbackground["Extension background<br/>[background.js]"]
  node_extpopup["Extension popup<br/>[popup.js]"]
  node_syncfunction["Extension sync function<br/>[index.ts]"]
end

node_user(("Job seeker"))

node_user -->|"opens"| node_app
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_authpage
node_app -->|"routes to"| node_notfound
node_dashboard -->|"checks session"| node_auth
node_authpage -->|"uses"| node_auth
node_authpage -->|"uses OAuth"| node_lovable
node_auth -->|"calls auth"| node_authclient
node_authclient -->|"connects to"| node_backend
node_dashboard -->|"fetches applications"| node_applications
node_dashboard -->|"subscribes to changes"| node_backend
node_addapplication -->|"adds records"| node_applications
node_table -->|"updates and deletes"| node_applications
node_kanban -->|"uses"| node_applications
node_applications -->|"queries"| node_authclient
node_applications -->|"maps records"| node_applicationdata
node_applications -->|"reads and writes"| node_applicationdb
node_dashboard -->|"renders"| node_addapplication
node_dashboard -->|"renders selected view"| node_table
node_dashboard -->|"renders selected view"| node_kanban
node_dashboard -->|"renders"| node_stats
node_dashboard -->|"renders"| node_breakdown
node_dashboard -->|"renders"| node_reminders
node_stats -->|"reads state"| node_applications
node_breakdown -->|"reads state"| node_applications
node_reminders -->|"reads applications"| node_applications
node_reminders -->|"manages reminders"| node_reminderstore
node_dashboard -->|"renders"| node_extensiondownload

click node_app "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/App.tsx"
click node_dashboard "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/Index.tsx"
click node_authpage "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/Auth.tsx"
click node_notfound "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/NotFound.tsx"
click node_auth "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/hooks/useAuth.tsx"
click node_authclient "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/integrations/supabase/client.ts"
click node_lovable "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/integrations/lovable/index.ts"
click node_applications "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/store/useAppStore.ts"
click node_applicationdata "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/types/application.ts"
click node_addapplication "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/AddApplicationDialog.tsx"
click node_table "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/ApplicationTable.tsx"
click node_kanban "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/KanbanBoard.tsx"
click node_stats "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/StatsCards.tsx"
click node_breakdown "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/StatusBreakdown.tsx"
click node_reminders "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/SmartReminders.tsx"
click node_reminderstore "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/store/useReminderStore.ts"
click node_extensiondownload "https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/ExtensionDownload.tsx"
click node_extcontent "https://github.com/siddhantthakur132/myjobtracker/blob/main/extension/content.js"
click node_extbackground "https://github.com/siddhantthakur132/myjobtracker/blob/main/extension/background.js"
click node_extpopup "https://github.com/siddhantthakur132/myjobtracker/blob/main/extension/popup.js"
click node_syncfunction "https://github.com/siddhantthakur132/myjobtracker/blob/main/supabase/functions/extension-sync/index.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_authpage,node_notfound toneBlue
class node_applications,node_applicationdata,node_addapplication,node_table,node_kanban toneAmber
class node_stats,node_breakdown,node_reminders,node_reminderstore toneMint
class node_auth,node_authclient,node_lovable,node_backend,node_applicationdb toneRose
class node_extensiondownload,node_extcontent,node_extbackground,node_extpopup,node_syncfunction,node_user toneIndigo
```

## Components

### Web application

- [App router](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/App.tsx): `src/App.tsx`
- [Dashboard page](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/Index.tsx): `src/pages/Index.tsx`
- [Sign-in page](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/Auth.tsx): `src/pages/Auth.tsx`
- [Not-found page](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/pages/NotFound.tsx): `src/pages/NotFound.tsx`

### Application tracking

- [Applications store](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/store/useAppStore.ts): `src/store/useAppStore.ts`
- [Application model](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/types/application.ts): `src/types/application.ts`
- [Add application](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/AddApplicationDialog.tsx): `src/components/AddApplicationDialog.tsx`
- [Application table](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/ApplicationTable.tsx): `src/components/ApplicationTable.tsx`
- [Kanban board](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/KanbanBoard.tsx): `src/components/KanbanBoard.tsx`

### Dashboard insights

- [Stats cards](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/StatsCards.tsx): `src/components/StatsCards.tsx`
- [Status breakdown](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/StatusBreakdown.tsx): `src/components/StatusBreakdown.tsx`
- [Smart reminders](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/SmartReminders.tsx): `src/components/SmartReminders.tsx`
- [Reminder store](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/store/useReminderStore.ts): `src/store/useReminderStore.ts`

### Identity and data

- [Auth context](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/hooks/useAuth.tsx): `src/hooks/useAuth.tsx`
- [Supabase client](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/integrations/supabase/client.ts): `src/integrations/supabase/client.ts`
- [OAuth integration](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/integrations/lovable/index.ts): `src/integrations/lovable/index.ts`
- **Supabase backend**
- **Applications table**

### Browser extension

- [Extension download](https://github.com/siddhantthakur132/myjobtracker/blob/main/src/components/ExtensionDownload.tsx): `src/components/ExtensionDownload.tsx`
- [Page content script](https://github.com/siddhantthakur132/myjobtracker/blob/main/extension/content.js): `extension/content.js`
- [Extension background](https://github.com/siddhantthakur132/myjobtracker/blob/main/extension/background.js): `extension/background.js`
- [Extension popup](https://github.com/siddhantthakur132/myjobtracker/blob/main/extension/popup.js): `extension/popup.js`
- [Extension sync function](https://github.com/siddhantthakur132/myjobtracker/blob/main/supabase/functions/extension-sync/index.ts): `supabase/functions/extension-sync/index.ts`

### Other components

- **Job seeker**

## Connections

- Job seeker → App router: opens (evidence: `src/App.tsx`)
- App router → Dashboard page: routes to (evidence: `src/App.tsx`)
- App router → Sign-in page: routes to (evidence: `src/App.tsx`)
- App router → Not-found page: routes to (evidence: `src/App.tsx`)
- Dashboard page → Auth context: checks session (evidence: `src/pages/Index.tsx`)
- Sign-in page → Auth context: uses (evidence: `src/pages/Auth.tsx`)
- Sign-in page → OAuth integration: uses OAuth (evidence: `src/pages/Auth.tsx`)
- Auth context → Supabase client: calls auth (evidence: `src/hooks/useAuth.tsx`)
- Supabase client → Supabase backend: connects to (evidence: `src/integrations/supabase/client.ts`)
- Dashboard page → Applications store: fetches applications (evidence: `src/pages/Index.tsx`)
- Dashboard page → Supabase backend: subscribes to changes (evidence: `src/pages/Index.tsx`)
- Add application → Applications store: adds records (evidence: `src/components/AddApplicationDialog.tsx`)
- Application table → Applications store: updates and deletes (evidence: `src/components/ApplicationTable.tsx`)
- Kanban board → Applications store: uses (evidence: `src/components/KanbanBoard.tsx`)
- Applications store → Supabase client: queries (evidence: `src/store/useAppStore.ts`)
- Applications store → Application model: maps records (evidence: `src/store/useAppStore.ts`)
- Applications store → Applications table: reads and writes (evidence: `src/store/useAppStore.ts`)
- Dashboard page → Add application: renders (evidence: `src/pages/Index.tsx`)
- Dashboard page → Application table: renders selected view (evidence: `src/pages/Index.tsx`)
- Dashboard page → Kanban board: renders selected view (evidence: `src/pages/Index.tsx`)
- Dashboard page → Stats cards: renders (evidence: `src/pages/Index.tsx`)
- Dashboard page → Status breakdown: renders (evidence: `src/pages/Index.tsx`)
- Dashboard page → Smart reminders: renders (evidence: `src/pages/Index.tsx`)
- Stats cards → Applications store: reads state (evidence: `src/components/StatsCards.tsx`)
- Status breakdown → Applications store: reads state (evidence: `src/components/StatusBreakdown.tsx`)
- Smart reminders → Applications store: reads applications (evidence: `src/components/SmartReminders.tsx`)
- Smart reminders → Reminder store: manages reminders (evidence: `src/components/SmartReminders.tsx`)
- Dashboard page → Extension download: renders (evidence: `src/pages/Index.tsx`)
