# likitha40/pixel-matched-web-maker architecture

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

- Interactive diagram: https://gitdiagram.com/likitha40/pixel-matched-web-maker
- Repository: https://github.com/likitha40/pixel-matched-web-maker

## Overview

LearnWise is a demo student-learning web app: learners review subject progress, open topic details, take a sample quiz, and use score-prioritized study sessions. The routes and UI are backed by static demo data; the study plan saves completion in browser storage. The excerpts show the dashboard, quiz scoring call, and plan behavior, but not the learning route implementations or all persistence helpers, so those connections are omitted or marked unverified. The server also has a small SSR error-capture and fallback-page path.

Main entry points: [`src/routeTree.gen.ts`](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routeTree.gen.ts) (Route registry), [`src/routes/index.tsx`](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/index.tsx) (Dashboard), [`src/routes/quiz.tsx`](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/quiz.tsx) (Practice quiz), [`src/routes/study-plan.tsx`](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/study-plan.tsx) (Study plan)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Learning experience"]
  node_dashboard["Dashboard<br/>[index.tsx]"]
  node_learning_index["Topic catalog<br/>[learning.index.tsx]"]
  node_topic_detail["Topic details"]
  node_quiz["Practice quiz<br/>[quiz.tsx]"]
  node_study_plan["Study plan<br/>[study-plan.tsx]"]
  node_app_shell["App shell<br/>[app-shell.tsx]"]
  node_learning_ui["Learning UI<br/>[ui.tsx]"]
end

subgraph group_domain["Learning domain"]
  node_learning_data["Demo learning data<br/>[learnwise-data.ts]"]
end

subgraph group_runtime["Application runtime"]
  node_router["Router setup<br/>[router.tsx]"]
  node_route_tree["Route registry<br/>[routeTree.gen.ts]"]
  node_server["SSR server entry<br/>[server.ts]"]
end

subgraph group_support["Error support"]
  node_error_capture["Error capture<br/>[error-capture.ts]"]
  node_error_page["Error page<br/>[error-page.ts]"]
  node_lovable_reporting["Lovable reporting"]
end

node_learner(("Learner"))

node_learner -->|"opens"| node_dashboard
node_learner -.->|"browses"| node_learning_index
node_learner -.->|"opens"| node_topic_detail
node_learner -.->|"takes"| node_quiz
node_learner -.->|"reviews"| node_study_plan
node_dashboard -->|"renders"| node_app_shell
node_dashboard -->|"renders"| node_learning_ui
node_dashboard -->|"reads"| node_learning_data
node_learning_index -.->|"renders"| node_app_shell
node_learning_index -.->|"reads"| node_learning_data
node_topic_detail -.->|"renders"| node_app_shell
node_topic_detail -.->|"reads"| node_learning_data
node_quiz -->|"renders"| node_app_shell
node_quiz -->|"renders"| node_learning_ui
node_quiz -->|"scores quiz"| node_learning_data
node_study_plan -->|"renders"| node_app_shell
node_study_plan -->|"renders"| node_learning_ui
node_study_plan -->|"prioritizes tasks"| node_learning_data
node_router -->|"loads routes"| node_route_tree
node_route_tree -->|"registers"| node_dashboard
node_route_tree -->|"registers"| node_quiz
node_route_tree -->|"registers"| node_study_plan
node_route_tree -->|"registers"| node_learning_index
node_route_tree -->|"registers"| node_topic_detail
node_server -->|"captures errors"| node_error_capture
node_server -->|"renders fallback"| node_error_page
node_server -.->|"configures"| node_lovable_reporting

click node_dashboard "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/index.tsx"
click node_learning_index "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/learning.index.tsx"
click node_topic_detail "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/learning.%24topicId.tsx"
click node_quiz "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/quiz.tsx"
click node_study_plan "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/study-plan.tsx"
click node_app_shell "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/components/learnwise/app-shell.tsx"
click node_learning_ui "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/components/learnwise/ui.tsx"
click node_learning_data "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/learnwise-data.ts"
click node_router "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/router.tsx"
click node_route_tree "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routeTree.gen.ts"
click node_server "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/server.ts"
click node_error_capture "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/error-capture.ts"
click node_error_page "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/error-page.ts"
click node_lovable_reporting "https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/lovable-error-reporting.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_dashboard,node_learning_index,node_topic_detail,node_quiz,node_study_plan,node_app_shell,node_learning_ui toneBlue
class node_learning_data toneAmber
class node_router,node_route_tree,node_server toneMint
class node_error_capture,node_error_page,node_lovable_reporting toneRose
class node_learner toneIndigo
```

## Components

### Learning experience

- [Dashboard](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/index.tsx): `src/routes/index.tsx`
- [Topic catalog](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/learning.index.tsx): `src/routes/learning.index.tsx`
- [Topic details](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/learning.%24topicId.tsx): `src/routes/learning.$topicId.tsx`
- [Practice quiz](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/quiz.tsx): `src/routes/quiz.tsx`
- [Study plan](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routes/study-plan.tsx): `src/routes/study-plan.tsx`
- [App shell](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/components/learnwise/app-shell.tsx): `src/components/learnwise/app-shell.tsx`
- [Learning UI](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/components/learnwise/ui.tsx): `src/components/learnwise/ui.tsx`

### Learning domain

- [Demo learning data](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/learnwise-data.ts): `src/lib/learnwise-data.ts`

### Application runtime

- [Router setup](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/router.tsx): `src/router.tsx`
- [Route registry](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/routeTree.gen.ts): `src/routeTree.gen.ts`
- [SSR server entry](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/server.ts): `src/server.ts`

### Error support

- [Error capture](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/error-capture.ts): `src/lib/error-capture.ts`
- [Error page](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/error-page.ts): `src/lib/error-page.ts`
- [Lovable reporting](https://github.com/likitha40/pixel-matched-web-maker/blob/main/src/lib/lovable-error-reporting.ts): `src/lib/lovable-error-reporting.ts`

### Other components

- **Learner**

## Connections

- Learner → Dashboard: opens (evidence: `src/routes/index.tsx`)
- Learner → Topic catalog: browses
- Learner → Topic details: opens
- Learner → Practice quiz: takes
- Learner → Study plan: reviews
- Dashboard → App shell: renders (evidence: `src/routes/index.tsx`)
- Dashboard → Learning UI: renders (evidence: `src/routes/index.tsx`)
- Dashboard → Demo learning data: reads (evidence: `src/routes/index.tsx`)
- Topic catalog → App shell: renders
- Topic catalog → Demo learning data: reads
- Topic details → App shell: renders
- Topic details → Demo learning data: reads
- Practice quiz → App shell: renders (evidence: `src/routes/quiz.tsx`)
- Practice quiz → Learning UI: renders (evidence: `src/routes/quiz.tsx`)
- Practice quiz → Demo learning data: scores quiz (evidence: `src/routes/quiz.tsx`)
- Study plan → App shell: renders (evidence: `src/routes/study-plan.tsx`)
- Study plan → Learning UI: renders (evidence: `src/routes/study-plan.tsx`)
- Study plan → Demo learning data: prioritizes tasks (evidence: `src/routes/study-plan.tsx`)
- Router setup → Route registry: loads routes (evidence: `src/router.tsx`)
- Route registry → Dashboard: registers (evidence: `src/routeTree.gen.ts`)
- Route registry → Practice quiz: registers (evidence: `src/routeTree.gen.ts`)
- Route registry → Study plan: registers (evidence: `src/routeTree.gen.ts`)
- Route registry → Topic catalog: registers (evidence: `src/routeTree.gen.ts`)
- Route registry → Topic details: registers (evidence: `src/routeTree.gen.ts`)
- SSR server entry → Error capture: captures errors (evidence: `src/server.ts`)
- SSR server entry → Error page: renders fallback (evidence: `src/server.ts`)
- SSR server entry → Lovable reporting: configures
