# disco12-design/techtree_studies architecture

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

- Interactive diagram: https://gitdiagram.com/disco12-design/techtree_studies
- Repository: https://github.com/disco12-design/techtree_studies

## Overview

This is a Next.js study-preparation frontend for cybersecurity certification candidates. Users can browse and filter study notes, open a note for review, view practice exams, track dashboard metrics and an exam date, and inspect pricing. The graph captures the note-browsing workflow and the major product areas visible in the tree. Source excerpts are incomplete, so links between pages and unsampled behavior are omitted where their wiring is not shown.

Main entry points: [`app/study-notes/page.tsx`](https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/page.tsx) (Notes catalogue), [`app/types/assets.ts`](https://github.com/disco12-design/techtree_studies/blob/main/app/types/assets.ts) (Study content data), [`app/layout.tsx`](https://github.com/disco12-design/techtree_studies/blob/main/app/layout.tsx) (Root layout), [`app/components/StudyNoteCard.tsx`](https://github.com/disco12-design/techtree_studies/blob/main/app/components/StudyNoteCard.tsx) (Study note card)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_layout["Root layout<br/>[layout.tsx]"]
  node_sidebar["Navigation sidebar<br/>[Sidebar.tsx]"]
  node_toaster["Toast provider"]
end

subgraph group_study["Study materials"]
  node_notes_list["Notes catalogue<br/>[page.tsx]"]
  node_notes_filter["Notes filters"]
  node_note_card["Study note card<br/>[StudyNoteCard.tsx]"]
  node_note_reader["Note reader<br/>[page.tsx]"]
  node_note_api["Note API<br/>[route.ts]"]
  node_note_editor["Notes workspace<br/>[page.tsx]"]
  node_content_data["Study content data<br/>[assets.ts]"]
end

subgraph group_prep["Exam preparation"]
  node_dashboard["Progress dashboard<br/>[page.tsx]"]
  node_calendar_page["Calendar page<br/>[page.tsx]"]
  node_calendar["Exam date calendar<br/>[Calendar.tsx]"]
  node_practice["Practice exams<br/>[page.tsx]"]
  node_attempts["Exam attempts<br/>[page.tsx]"]
end

subgraph group_account["Plans and billing"]
  node_pricing["Pricing and billing<br/>[page.tsx]"]
end

node_candidate(("Candidate"))

node_candidate -->|"browses"| node_notes_list
node_notes_list -->|"renders"| node_notes_filter
node_notes_list -->|"renders"| node_note_card
node_notes_list -->|"filters"| node_content_data
node_note_card -->|"links to"| node_note_reader
node_note_reader -.->|"fetches note"| node_note_api
node_note_api -->|"looks up"| node_content_data
node_notes_list -->|"links to"| node_note_editor
node_layout -->|"renders"| node_sidebar
node_layout -->|"renders"| node_toaster
node_dashboard -->|"reads metrics"| node_content_data
node_calendar_page -->|"renders"| node_calendar
node_practice -->|"filters exams"| node_content_data
node_pricing -->|"reads tiers"| node_content_data

click node_layout "https://github.com/disco12-design/techtree_studies/blob/main/app/layout.tsx"
click node_sidebar "https://github.com/disco12-design/techtree_studies/blob/main/app/components/Sidebar.tsx"
click node_toaster "https://github.com/disco12-design/techtree_studies/blob/main/app/providers/ToasterProvider.tsx"
click node_notes_list "https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/page.tsx"
click node_notes_filter "https://github.com/disco12-design/techtree_studies/blob/main/app/components/StudyNotesFilter.tsx"
click node_note_card "https://github.com/disco12-design/techtree_studies/blob/main/app/components/StudyNoteCard.tsx"
click node_note_reader "https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/%5Bid%5D/page.tsx"
click node_note_api "https://github.com/disco12-design/techtree_studies/blob/main/app/api/study-notes/%5Bid%5D/route.ts"
click node_note_editor "https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/notes/page.tsx"
click node_content_data "https://github.com/disco12-design/techtree_studies/blob/main/app/types/assets.ts"
click node_dashboard "https://github.com/disco12-design/techtree_studies/blob/main/app/dashboard/page.tsx"
click node_calendar_page "https://github.com/disco12-design/techtree_studies/blob/main/app/dashboard/calendar/page.tsx"
click node_calendar "https://github.com/disco12-design/techtree_studies/blob/main/app/components/Calendar.tsx"
click node_practice "https://github.com/disco12-design/techtree_studies/blob/main/app/practice-exam/page.tsx"
click node_attempts "https://github.com/disco12-design/techtree_studies/blob/main/app/attempts/page.tsx"
click node_pricing "https://github.com/disco12-design/techtree_studies/blob/main/app/pricing-billing/page.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_layout,node_sidebar,node_toaster toneBlue
class node_notes_list,node_notes_filter,node_note_card,node_note_reader,node_note_api,node_note_editor,node_content_data toneAmber
class node_dashboard,node_calendar_page,node_calendar,node_practice,node_attempts toneMint
class node_pricing toneRose
class node_candidate toneIndigo
```

## Components

### Application shell

- [Root layout](https://github.com/disco12-design/techtree_studies/blob/main/app/layout.tsx): `app/layout.tsx`
- [Navigation sidebar](https://github.com/disco12-design/techtree_studies/blob/main/app/components/Sidebar.tsx): `app/components/Sidebar.tsx`
- [Toast provider](https://github.com/disco12-design/techtree_studies/blob/main/app/providers/ToasterProvider.tsx): `app/providers/ToasterProvider.tsx`

### Study materials

- [Notes catalogue](https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/page.tsx): `app/study-notes/page.tsx`
- [Notes filters](https://github.com/disco12-design/techtree_studies/blob/main/app/components/StudyNotesFilter.tsx): `app/components/StudyNotesFilter.tsx`
- [Study note card](https://github.com/disco12-design/techtree_studies/blob/main/app/components/StudyNoteCard.tsx): `app/components/StudyNoteCard.tsx`
- [Note reader](https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/%5Bid%5D/page.tsx): `app/study-notes/[id]/page.tsx`
- [Note API](https://github.com/disco12-design/techtree_studies/blob/main/app/api/study-notes/%5Bid%5D/route.ts): `app/api/study-notes/[id]/route.ts`
- [Notes workspace](https://github.com/disco12-design/techtree_studies/blob/main/app/study-notes/notes/page.tsx): `app/study-notes/notes/page.tsx`
- [Study content data](https://github.com/disco12-design/techtree_studies/blob/main/app/types/assets.ts): `app/types/assets.ts`

### Exam preparation

- [Progress dashboard](https://github.com/disco12-design/techtree_studies/blob/main/app/dashboard/page.tsx): `app/dashboard/page.tsx`
- [Calendar page](https://github.com/disco12-design/techtree_studies/blob/main/app/dashboard/calendar/page.tsx): `app/dashboard/calendar/page.tsx`
- [Exam date calendar](https://github.com/disco12-design/techtree_studies/blob/main/app/components/Calendar.tsx): `app/components/Calendar.tsx`
- [Practice exams](https://github.com/disco12-design/techtree_studies/blob/main/app/practice-exam/page.tsx): `app/practice-exam/page.tsx`
- [Exam attempts](https://github.com/disco12-design/techtree_studies/blob/main/app/attempts/page.tsx): `app/attempts/page.tsx`

### Plans and billing

- [Pricing and billing](https://github.com/disco12-design/techtree_studies/blob/main/app/pricing-billing/page.tsx): `app/pricing-billing/page.tsx`

### Other components

- **Candidate**

## Connections

- Candidate → Notes catalogue: browses
- Notes catalogue → Notes filters: renders (evidence: `app/study-notes/page.tsx`)
- Notes catalogue → Study note card: renders (evidence: `app/study-notes/page.tsx`)
- Notes catalogue → Study content data: filters (evidence: `app/study-notes/page.tsx`)
- Study note card → Note reader: links to (evidence: `app/components/StudyNoteCard.tsx`)
- Note reader → Note API: fetches note
- Note API → Study content data: looks up (evidence: `app/api/study-notes/[id]/route.ts`)
- Notes catalogue → Notes workspace: links to (evidence: `app/study-notes/page.tsx`)
- Root layout → Navigation sidebar: renders (evidence: `app/layout.tsx`)
- Root layout → Toast provider: renders (evidence: `app/layout.tsx`)
- Progress dashboard → Study content data: reads metrics (evidence: `app/dashboard/page.tsx`)
- Calendar page → Exam date calendar: renders (evidence: `app/dashboard/calendar/page.tsx`)
- Practice exams → Study content data: filters exams (evidence: `app/practice-exam/page.tsx`)
- Pricing and billing → Study content data: reads tiers (evidence: `app/pricing-billing/page.tsx`)
