# ryvarma7/traqen architecture

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

- Interactive diagram: https://gitdiagram.com/ryvarma7/traqen
- Repository: https://github.com/ryvarma7/traqen

## Overview

Tracker is a personal productivity app for managing tasks, job and hackathon applications, notes, learning tracks, and calendar dates. The main flow is a signed-in user entering the hub, reviewing upcoming work, and opening focused views to create or update records; server actions persist changes through Supabase. The README gives no further product detail, so capabilities are inferred from the source tree and module names. Several feature implementations were not sampled, so their internal relationships are not expanded.

Main entry points: [`lib/supabase/server.ts`](https://github.com/ryvarma7/traqen/blob/main/lib/supabase/server.ts) (Server client), [`app/page.tsx`](https://github.com/ryvarma7/traqen/blob/main/app/page.tsx) (Product hub), [`app/calendar/page.tsx`](https://github.com/ryvarma7/traqen/blob/main/app/calendar/page.tsx) (Calendar page), [`app/tasks/page.tsx`](https://github.com/ryvarma7/traqen/blob/main/app/tasks/page.tsx) (Tasks page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hub["Hub and navigation"]
  node_hub_page["Product hub<br/>[page.tsx]"]
  node_app_shell["App shell"]
end

subgraph group_work["Tasks and applications"]
  node_tasks_page["Tasks page<br/>[page.tsx]"]
  node_tasks_view["Task board<br/>[tasks-view.tsx]"]
  node_task_actions["Task actions<br/>[tasks.ts]"]
  node_applications_page["Applications page<br/>[page.tsx]"]
  node_applications_view["Applications manager"]
  node_application_actions["Application actions<br/>[applications.ts]"]
end

subgraph group_planning["Notes and calendar"]
  node_notes_page["Notes page<br/>[page.tsx]"]
  node_notes_view["Notes editor<br/>[notes-view.tsx]"]
  node_notes_actions["Note actions<br/>[notes.ts]"]
  node_calendar_page["Calendar page<br/>[page.tsx]"]
  node_calendar_view["Calendar view<br/>[calendar-view.tsx]"]
  node_calendar_logic["Calendar logic<br/>[calendar.ts]"]
end

subgraph group_learning["Learning tracks"]
  node_tracks_page["Tracks page<br/>[page.tsx]"]
  node_tracks_view["Tracks manager<br/>[tracks-view.tsx]"]
  node_track_detail_page["Track detail page<br/>[page.tsx]"]
  node_track_detail["Track detail"]
  node_track_actions["Track actions<br/>[tracks.ts]"]
end

subgraph group_platform["Auth and data"]
  node_auth_login["Login page<br/>[page.tsx]"]
  node_auth_actions["Auth actions<br/>[auth.ts]"]
  node_auth_callback["Auth callback<br/>[route.ts]"]
  node_profile_api["Profile API<br/>[route.ts]"]
  node_username_api["Username API<br/>[route.ts]"]
  node_supabase_client["Server client<br/>[server.ts]"]
end

node_user(("User"))
node_supabase[("Supabase")]

node_user -->|"opens hub"| node_hub_page
node_hub_page -->|"reads records"| node_supabase_client
node_hub_page -->|"renders within"| node_app_shell
node_user -.->|"opens tasks"| node_tasks_page
node_tasks_page -->|"renders"| node_tasks_view
node_tasks_view -->|"updates status"| node_task_actions
node_task_actions -->|"uses client"| node_supabase_client
node_supabase_client -->|"connects"| node_supabase
node_user -.->|"opens applications"| node_applications_page
node_applications_page -->|"renders"| node_applications_view
node_applications_view -->|"saves records"| node_application_actions
node_application_actions -->|"uses client"| node_supabase_client
node_user -.->|"opens notes"| node_notes_page
node_notes_page -->|"renders"| node_notes_view
node_notes_view -->|"saves notes"| node_notes_actions
node_notes_actions -.->|"uses client"| node_supabase_client
node_user -.->|"opens calendar"| node_calendar_page
node_calendar_page -->|"renders"| node_calendar_view
node_calendar_page -->|"loads calendar data"| node_calendar_logic
node_calendar_view -->|"uses date logic"| node_calendar_logic
node_user -.->|"opens tracks"| node_tracks_page
node_tracks_page -->|"renders"| node_tracks_view
node_user -.->|"opens track"| node_track_detail_page
node_track_detail_page -->|"renders"| node_track_detail
node_tracks_view -.->|"manages tracks"| node_track_actions
node_track_detail -.->|"updates track"| node_track_actions
node_user -->|"signs in"| node_auth_login
node_auth_login -->|"invokes auth"| node_auth_actions
node_auth_callback -->|"uses client"| node_supabase_client
node_profile_api -->|"uses client"| node_supabase_client
node_username_api -->|"uses client"| node_supabase_client
node_auth_actions -.->|"uses client"| node_supabase_client

click node_hub_page "https://github.com/ryvarma7/traqen/blob/main/app/page.tsx"
click node_app_shell "https://github.com/ryvarma7/traqen/blob/main/components/shell/page-transition.tsx"
click node_tasks_page "https://github.com/ryvarma7/traqen/blob/main/app/tasks/page.tsx"
click node_tasks_view "https://github.com/ryvarma7/traqen/blob/main/components/tasks/tasks-view.tsx"
click node_task_actions "https://github.com/ryvarma7/traqen/blob/main/lib/actions/tasks.ts"
click node_applications_page "https://github.com/ryvarma7/traqen/blob/main/app/applications/page.tsx"
click node_applications_view "https://github.com/ryvarma7/traqen/blob/main/components/applications/applications-view.tsx"
click node_application_actions "https://github.com/ryvarma7/traqen/blob/main/lib/actions/applications.ts"
click node_notes_page "https://github.com/ryvarma7/traqen/blob/main/app/notes/page.tsx"
click node_notes_view "https://github.com/ryvarma7/traqen/blob/main/components/notes/notes-view.tsx"
click node_notes_actions "https://github.com/ryvarma7/traqen/blob/main/lib/actions/notes.ts"
click node_calendar_page "https://github.com/ryvarma7/traqen/blob/main/app/calendar/page.tsx"
click node_calendar_view "https://github.com/ryvarma7/traqen/blob/main/components/calendar/calendar-view.tsx"
click node_calendar_logic "https://github.com/ryvarma7/traqen/blob/main/lib/calendar.ts"
click node_tracks_page "https://github.com/ryvarma7/traqen/blob/main/app/tracks/page.tsx"
click node_tracks_view "https://github.com/ryvarma7/traqen/blob/main/components/tracks/tracks-view.tsx"
click node_track_detail_page "https://github.com/ryvarma7/traqen/blob/main/app/tracks/%5Bid%5D/page.tsx"
click node_track_detail "https://github.com/ryvarma7/traqen/blob/main/components/tracks/track-detail-view.tsx"
click node_track_actions "https://github.com/ryvarma7/traqen/blob/main/lib/actions/tracks.ts"
click node_auth_login "https://github.com/ryvarma7/traqen/blob/main/app/login/page.tsx"
click node_auth_actions "https://github.com/ryvarma7/traqen/blob/main/lib/actions/auth.ts"
click node_auth_callback "https://github.com/ryvarma7/traqen/blob/main/app/auth/callback/route.ts"
click node_profile_api "https://github.com/ryvarma7/traqen/blob/main/app/api/profile/route.ts"
click node_username_api "https://github.com/ryvarma7/traqen/blob/main/app/api/profile/username/route.ts"
click node_supabase_client "https://github.com/ryvarma7/traqen/blob/main/lib/supabase/server.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_hub_page,node_app_shell,node_user toneBlue
class node_tasks_page,node_tasks_view,node_task_actions,node_applications_page,node_applications_view,node_application_actions,node_supabase toneAmber
class node_notes_page,node_notes_view,node_notes_actions,node_calendar_page,node_calendar_view,node_calendar_logic toneMint
class node_tracks_page,node_tracks_view,node_track_detail_page,node_track_detail,node_track_actions toneRose
class node_auth_login,node_auth_actions,node_auth_callback,node_profile_api,node_username_api,node_supabase_client toneIndigo
```

## Components

### Hub and navigation

- [Product hub](https://github.com/ryvarma7/traqen/blob/main/app/page.tsx): `app/page.tsx`
- [App shell](https://github.com/ryvarma7/traqen/blob/main/components/shell/page-transition.tsx): `components/shell/page-transition.tsx`

### Tasks and applications

- [Tasks page](https://github.com/ryvarma7/traqen/blob/main/app/tasks/page.tsx): `app/tasks/page.tsx`
- [Task board](https://github.com/ryvarma7/traqen/blob/main/components/tasks/tasks-view.tsx): `components/tasks/tasks-view.tsx`
- [Task actions](https://github.com/ryvarma7/traqen/blob/main/lib/actions/tasks.ts): `lib/actions/tasks.ts`
- [Applications page](https://github.com/ryvarma7/traqen/blob/main/app/applications/page.tsx): `app/applications/page.tsx`
- [Applications manager](https://github.com/ryvarma7/traqen/blob/main/components/applications/applications-view.tsx): `components/applications/applications-view.tsx`
- [Application actions](https://github.com/ryvarma7/traqen/blob/main/lib/actions/applications.ts): `lib/actions/applications.ts`

### Notes and calendar

- [Notes page](https://github.com/ryvarma7/traqen/blob/main/app/notes/page.tsx): `app/notes/page.tsx`
- [Notes editor](https://github.com/ryvarma7/traqen/blob/main/components/notes/notes-view.tsx): `components/notes/notes-view.tsx`
- [Note actions](https://github.com/ryvarma7/traqen/blob/main/lib/actions/notes.ts): `lib/actions/notes.ts`
- [Calendar page](https://github.com/ryvarma7/traqen/blob/main/app/calendar/page.tsx): `app/calendar/page.tsx`
- [Calendar view](https://github.com/ryvarma7/traqen/blob/main/components/calendar/calendar-view.tsx): `components/calendar/calendar-view.tsx`
- [Calendar logic](https://github.com/ryvarma7/traqen/blob/main/lib/calendar.ts): `lib/calendar.ts`

### Learning tracks

- [Tracks page](https://github.com/ryvarma7/traqen/blob/main/app/tracks/page.tsx): `app/tracks/page.tsx`
- [Tracks manager](https://github.com/ryvarma7/traqen/blob/main/components/tracks/tracks-view.tsx): `components/tracks/tracks-view.tsx`
- [Track detail page](https://github.com/ryvarma7/traqen/blob/main/app/tracks/%5Bid%5D/page.tsx): `app/tracks/[id]/page.tsx`
- [Track detail](https://github.com/ryvarma7/traqen/blob/main/components/tracks/track-detail-view.tsx): `components/tracks/track-detail-view.tsx`
- [Track actions](https://github.com/ryvarma7/traqen/blob/main/lib/actions/tracks.ts): `lib/actions/tracks.ts`

### Auth and data

- [Login page](https://github.com/ryvarma7/traqen/blob/main/app/login/page.tsx): `app/login/page.tsx`
- [Auth actions](https://github.com/ryvarma7/traqen/blob/main/lib/actions/auth.ts): `lib/actions/auth.ts`
- [Auth callback](https://github.com/ryvarma7/traqen/blob/main/app/auth/callback/route.ts): `app/auth/callback/route.ts`
- [Profile API](https://github.com/ryvarma7/traqen/blob/main/app/api/profile/route.ts): `app/api/profile/route.ts`
- [Username API](https://github.com/ryvarma7/traqen/blob/main/app/api/profile/username/route.ts): `app/api/profile/username/route.ts`
- [Server client](https://github.com/ryvarma7/traqen/blob/main/lib/supabase/server.ts): `lib/supabase/server.ts`

### Other components

- **User**
- **Supabase**

## Connections

- User → Product hub: opens hub (evidence: `app/page.tsx`)
- Product hub → Server client: reads records (evidence: `app/page.tsx`)
- Product hub → App shell: renders within (evidence: `app/page.tsx`)
- User → Tasks page: opens tasks
- Tasks page → Task board: renders (evidence: `app/tasks/page.tsx`)
- Task board → Task actions: updates status (evidence: `components/tasks/tasks-view.tsx`)
- Task actions → Server client: uses client (evidence: `lib/actions/tasks.ts`)
- Server client → Supabase: connects (evidence: `lib/supabase/server.ts`)
- User → Applications page: opens applications
- Applications page → Applications manager: renders (evidence: `app/applications/page.tsx`)
- Applications manager → Application actions: saves records (evidence: `components/applications/applications-view.tsx`)
- Application actions → Server client: uses client (evidence: `lib/actions/applications.ts`)
- User → Notes page: opens notes
- Notes page → Notes editor: renders (evidence: `app/notes/page.tsx`)
- Notes editor → Note actions: saves notes (evidence: `components/notes/notes-view.tsx`)
- Note actions → Server client: uses client
- User → Calendar page: opens calendar
- Calendar page → Calendar view: renders (evidence: `app/calendar/page.tsx`)
- Calendar page → Calendar logic: loads calendar data (evidence: `app/calendar/page.tsx`)
- Calendar view → Calendar logic: uses date logic (evidence: `components/calendar/calendar-view.tsx`)
- User → Tracks page: opens tracks
- Tracks page → Tracks manager: renders (evidence: `app/tracks/page.tsx`)
- User → Track detail page: opens track
- Track detail page → Track detail: renders (evidence: `app/tracks/[id]/page.tsx`)
- Tracks manager → Track actions: manages tracks
- Track detail → Track actions: updates track
- User → Login page: signs in (evidence: `app/login/page.tsx`)
- Login page → Auth actions: invokes auth (evidence: `app/login/page.tsx`)
- Auth callback → Server client: uses client (evidence: `app/auth/callback/route.ts`)
- Profile API → Server client: uses client (evidence: `app/api/profile/route.ts`)
- Username API → Server client: uses client (evidence: `app/api/profile/username/route.ts`)
- Auth actions → Server client: uses client
