# snippe187/kfz-lernen architecture

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

- Interactive diagram: https://gitdiagram.com/snippe187/kfz-lernen
- Repository: https://github.com/snippe187/kfz-lernen

## Overview

KFZ Lernen is a browser-based interactive learning product for automotive-mechatronics training. A learner opens the app, chooses a training module, and uses its simulations, practice tasks, and quizzes; the app also offers study aids and tracks practice progress. The README documents a broad range of technical modules and learner features, but their implementation is concentrated in index.html, which was not sampled. The graph therefore represents those as documented capabilities, not inspected internal components; the service worker behavior is supported by its excerpt.

Main entry points: [`index.html`](https://github.com/snippe187/kfz-lernen/blob/main/index.html) (Learning app), [`sw.js`](https://github.com/snippe187/kfz-lernen/blob/main/sw.js) (Offline service worker), [`manifest.webmanifest`](https://github.com/snippe187/kfz-lernen/blob/main/manifest.webmanifest) (App manifest)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Training"]
  node_app["Learning app<br/>[index.html]"]
  node_modules["Technical modules<br/>[index.html]"]
  node_simulations["Simulations and practice<br/>[index.html]"]
  node_quizzes["Quizzes and exams<br/>[index.html]"]
end

subgraph group_support["Learning support"]
  node_study_aids["Learning aids<br/>[index.html]"]
  node_glossary["Searchable glossary<br/>[index.html]"]
end

subgraph group_progress["Progress and access"]
  node_progress["Progress and motivation<br/>[index.html]"]
  node_save_load["Save and load<br/>[index.html]"]
  node_teacher_code["Teacher module codes<br/>[index.html]"]
end

subgraph group_delivery["App delivery"]
  node_service_worker["Offline service worker<br/>[sw.js]"]
  node_manifest["App manifest"]
end

node_learner(("Learner"))

node_learner -->|"opens"| node_app
node_app -->|"offers"| node_modules
node_learner -->|"selects"| node_modules
node_modules -->|"includes"| node_simulations
node_modules -->|"includes"| node_quizzes
node_app -->|"offers"| node_study_aids
node_study_aids -->|"includes"| node_glossary
node_app -->|"tracks"| node_progress
node_learner -->|"saves or loads"| node_save_load
node_app -->|"supports"| node_save_load
node_learner -->|"enters code"| node_teacher_code
node_teacher_code -->|"filters access"| node_modules
node_app -->|"uses offline support"| node_service_worker
node_learner -.->|"installs app"| node_manifest

click node_app "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_modules "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_simulations "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_quizzes "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_study_aids "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_glossary "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_progress "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_save_load "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_teacher_code "https://github.com/snippe187/kfz-lernen/blob/main/index.html"
click node_service_worker "https://github.com/snippe187/kfz-lernen/blob/main/sw.js"
click node_manifest "https://github.com/snippe187/kfz-lernen/blob/main/manifest.webmanifest"

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_modules,node_simulations,node_quizzes toneBlue
class node_study_aids,node_glossary toneAmber
class node_progress,node_save_load,node_teacher_code toneMint
class node_service_worker,node_manifest toneRose
class node_learner toneIndigo
```

## Components

### Training

- [Learning app](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`
- [Technical modules](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`
- [Simulations and practice](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`
- [Quizzes and exams](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`

### Learning support

- [Learning aids](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`
- [Searchable glossary](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`

### Progress and access

- [Progress and motivation](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`
- [Save and load](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`
- [Teacher module codes](https://github.com/snippe187/kfz-lernen/blob/main/index.html): `index.html`

### App delivery

- [Offline service worker](https://github.com/snippe187/kfz-lernen/blob/main/sw.js): `sw.js`
- [App manifest](https://github.com/snippe187/kfz-lernen/blob/main/manifest.webmanifest): `manifest.webmanifest`

### Other components

- **Learner**

## Connections

- Learner → Learning app: opens (evidence: `README.md`)
- Learning app → Technical modules: offers (evidence: `README.md`)
- Learner → Technical modules: selects (evidence: `README.md`)
- Technical modules → Simulations and practice: includes (evidence: `README.md`)
- Technical modules → Quizzes and exams: includes (evidence: `README.md`)
- Learning app → Learning aids: offers (evidence: `README.md`)
- Learning aids → Searchable glossary: includes (evidence: `README.md`)
- Learning app → Progress and motivation: tracks (evidence: `README.md`)
- Learner → Save and load: saves or loads (evidence: `README.md`)
- Learning app → Save and load: supports (evidence: `README.md`)
- Learner → Teacher module codes: enters code (evidence: `README.md`)
- Teacher module codes → Technical modules: filters access (evidence: `README.md`)
- Learning app → Offline service worker: uses offline support (evidence: `README.md`)
- Learner → App manifest: installs app
