# vinaypinagadi/airstrike-academy architecture

> Architecture diagram of the GitHub repository vinaypinagadi/airstrike-academy, 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/vinaypinagadi/airstrike-academy
- Repository: https://github.com/vinaypinagadi/airstrike-academy

## Overview

AirStrike Academy is a browser-based wireless-security learning simulator, not a real auditing tool. Learners move through briefings, mock-terminal labs, and quizzes across a progressive curriculum; lab and quiz completion unlock later modules. The Dashboard coordinates the terminal, curriculum, orientation, cheat sheet, and completion report, while IndexedDB preserves progress and command history. The README documents six learning areas, including advanced tactics and defensive configuration. Some components were not sampled, so their internal interactions are omitted where evidence is unavailable.

Main entry points: [`src/components/Dashboard.tsx`](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Dashboard.tsx) (Academy dashboard), [`src/db.ts`](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/db.ts) (IndexedDB state), [`src/components/Curriculum.tsx`](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Curriculum.tsx) (Module curriculum), [`src/components/Terminal.tsx`](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Terminal.tsx) (Mock terminal UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Learning experience"]
  node_dashboard["Academy dashboard<br/>[Dashboard.tsx]"]
  node_orientation["Orientation and safety"]
  node_cheatsheet["Command cheat sheet"]
  node_mission["Completion report"]
end

subgraph group_curriculum["Curriculum and assessment"]
  node_curriculum["Module curriculum<br/>[Curriculum.tsx]"]
  node_moduledata["Briefings and lab content<br/>[modules.ts]"]
  node_quiz["Module quizzes<br/>[Quiz.tsx]"]
end

subgraph group_simulation["Terminal simulation"]
  node_terminal["Mock terminal UI<br/>[Terminal.tsx]"]
  node_engine["Command simulator<br/>[MockEngine.ts]"]
end

subgraph group_persistence["Local persistence"]
  node_database[("IndexedDB state<br/>[db.ts]")]
end

node_learner(("Learner"))

node_learner -->|"uses"| node_dashboard
node_dashboard -->|"renders"| node_curriculum
node_dashboard -->|"renders"| node_terminal
node_dashboard -->|"renders"| node_orientation
node_dashboard -->|"renders"| node_cheatsheet
node_dashboard -->|"renders"| node_mission
node_dashboard -->|"reads progress"| node_database
node_curriculum -->|"loads content"| node_moduledata
node_curriculum -->|"renders"| node_quiz
node_curriculum -->|"reads progress"| node_database
node_terminal -->|"parses commands"| node_engine
node_terminal -->|"stores history and lab status"| node_database
node_orientation -->|"reads orientation progress"| node_database
node_dashboard -->|"exports and imports progress"| node_database

click node_dashboard "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Dashboard.tsx"
click node_orientation "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/OrientationModal.tsx"
click node_cheatsheet "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/CheatSheetModal.tsx"
click node_mission "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/MissionAccomplished.tsx"
click node_curriculum "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Curriculum.tsx"
click node_moduledata "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/data/modules.ts"
click node_quiz "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Quiz.tsx"
click node_terminal "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Terminal.tsx"
click node_engine "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/MockEngine.ts"
click node_database "https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/db.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_orientation,node_cheatsheet,node_mission toneBlue
class node_curriculum,node_moduledata,node_quiz toneAmber
class node_terminal,node_engine toneMint
class node_database toneRose
class node_learner toneIndigo
```

## Components

### Learning experience

- [Academy dashboard](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Dashboard.tsx): `src/components/Dashboard.tsx`
- [Orientation and safety](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/OrientationModal.tsx): `src/components/OrientationModal.tsx`
- [Command cheat sheet](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/CheatSheetModal.tsx): `src/components/CheatSheetModal.tsx`
- [Completion report](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/MissionAccomplished.tsx): `src/components/MissionAccomplished.tsx`

### Curriculum and assessment

- [Module curriculum](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Curriculum.tsx): `src/components/Curriculum.tsx`
- [Briefings and lab content](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/data/modules.ts): `src/data/modules.ts`
- [Module quizzes](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Quiz.tsx): `src/components/Quiz.tsx`

### Terminal simulation

- [Mock terminal UI](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/components/Terminal.tsx): `src/components/Terminal.tsx`
- [Command simulator](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/MockEngine.ts): `src/MockEngine.ts`

### Local persistence

- [IndexedDB state](https://github.com/vinaypinagadi/airstrike-academy/blob/main/src/db.ts): `src/db.ts`

### Other components

- **Learner**

## Connections

- Learner → Academy dashboard: uses (evidence: `README.md`)
- Academy dashboard → Module curriculum: renders (evidence: `src/components/Dashboard.tsx`)
- Academy dashboard → Mock terminal UI: renders (evidence: `src/components/Dashboard.tsx`)
- Academy dashboard → Orientation and safety: renders (evidence: `src/components/Dashboard.tsx`)
- Academy dashboard → Command cheat sheet: renders (evidence: `src/components/Dashboard.tsx`)
- Academy dashboard → Completion report: renders (evidence: `src/components/Dashboard.tsx`)
- Academy dashboard → IndexedDB state: reads progress (evidence: `src/components/Dashboard.tsx`)
- Module curriculum → Briefings and lab content: loads content (evidence: `src/components/Curriculum.tsx`)
- Module curriculum → Module quizzes: renders (evidence: `src/components/Curriculum.tsx`)
- Module curriculum → IndexedDB state: reads progress (evidence: `src/components/Curriculum.tsx`)
- Mock terminal UI → Command simulator: parses commands (evidence: `src/components/Terminal.tsx`)
- Mock terminal UI → IndexedDB state: stores history and lab status (evidence: `src/components/Terminal.tsx`)
- Orientation and safety → IndexedDB state: reads orientation progress (evidence: `src/components/OrientationModal.tsx`)
- Academy dashboard → IndexedDB state: exports and imports progress (evidence: `src/components/Dashboard.tsx`)
