# kurtpantaleon/linggo architecture

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

- Interactive diagram: https://gitdiagram.com/kurtpantaleon/linggo
- Repository: https://github.com/kurtpantaleon/linggo

## Overview

LingGO is a Cebuano-learning web app. The visible user journey runs through account and learner setup screens into level-one practice, where question data selects among interactive exercise formats. The graph also preserves the separate voice/slow gameplay screens and shared page presentation. Evidence is limited to the README (empty), SOURCE INDEX references, and sampled excerpts; the backend’s behavior and unsampled route details are therefore not inferred.

Main entry points: [`frontend/src/App.jsx`](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/App.jsx) (Route dispatcher), [`frontend/src/module/AccountModule/SignUpDetails.jsx`](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/AccountModule/SignUpDetails.jsx) (Sign-up details), [`frontend/src/module/GamePlayLvl1Module`](https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/GamePlayLvl1Module) (Voice and slow games), [`frontend/src/module/Level1Questions.jsx`](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/Level1Questions.jsx) (Level-one question browser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["App routing"]
  node_app["Route dispatcher<br/>[App.jsx]"]
end

subgraph group_onboarding["Account and setup"]
  node_account["Account screens"]
  node_signup["Sign-up details<br/>[SignUpDetails.jsx]"]
  node_intro["Learner setup"]
  node_gradeopts["Grade and section options<br/>[grade_category.js]"]
  node_firebase["Firebase configuration<br/>[firebase.js]"]
end

subgraph group_learning["Learning experience"]
  node_level1["Level-one question browser"]
  node_questiondata["Question bank<br/>[questions_data.js]"]
  node_questionforms["Interactive question formats"]
  node_gameplay["Voice and slow games"]
  node_sounddata["Sound catalog<br/>[sound_data.js]"]
end

subgraph group_presentation["Shared presentation"]
  node_background["Background layout"]
  node_header["Learner header"]
  node_choicegrid["Choice grids<br/>[ChoiceGrid.jsx]"]
  node_voicegrid["Voice character grid"]
end

node_learner(("Learner"))
node_firestore[("Firestore")]

node_learner -->|"opens app"| node_app
node_app -->|"routes to"| node_account
node_app -->|"routes to"| node_intro
node_app -->|"routes to"| node_level1
node_app -->|"routes to"| node_gameplay
node_learner -.->|"enters details"| node_signup
node_signup -->|"uses options"| node_gradeopts
node_signup -->|"writes user"| node_firestore
node_signup -->|"uses configuration"| node_firebase
node_intro -->|"uses options"| node_gradeopts
node_level1 -->|"loads questions"| node_questiondata
node_level1 -->|"dispatches questions"| node_questionforms
node_gameplay -->|"loads sounds"| node_sounddata
node_signup -->|"renders in"| node_background
node_intro -->|"renders in"| node_background
node_level1 -->|"renders in"| node_background
node_gameplay -->|"renders with"| node_header
node_questionforms -->|"renders in"| node_background
node_questionforms -->|"renders with"| node_header
node_gameplay -->|"uses grid"| node_choicegrid
node_gameplay -->|"uses grid"| node_voicegrid
node_questionforms -->|"uses grid"| node_voicegrid

click node_app "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/App.jsx"
click node_account "https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/AccountModule"
click node_signup "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/AccountModule/SignUpDetails.jsx"
click node_intro "https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/IntroModule"
click node_gradeopts "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/constant/grade_category.js"
click node_firebase "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/firebase.js"
click node_level1 "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/Level1Questions.jsx"
click node_questiondata "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/constant/questions_data.js"
click node_questionforms "https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/components/questions"
click node_gameplay "https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/GamePlayLvl1Module"
click node_sounddata "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/constant/sound_data.js"
click node_background "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/BackgroundLayout.jsx"
click node_header "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/PageHeaderLayout.jsx"
click node_choicegrid "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/ChoiceGrid.jsx"
click node_voicegrid "https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/VoiceCharacterGrid.jsx"

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 toneBlue
class node_account,node_signup,node_intro,node_gradeopts,node_firebase,node_firestore toneAmber
class node_level1,node_questiondata,node_questionforms,node_gameplay,node_sounddata toneMint
class node_background,node_header,node_choicegrid,node_voicegrid toneRose
class node_learner toneIndigo
```

## Components

### App routing

- [Route dispatcher](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`

### Account and setup

- [Account screens](https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/AccountModule): `frontend/src/module/AccountModule`
- [Sign-up details](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/AccountModule/SignUpDetails.jsx): `frontend/src/module/AccountModule/SignUpDetails.jsx`
- [Learner setup](https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/IntroModule): `frontend/src/module/IntroModule`
- [Grade and section options](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/constant/grade_category.js): `frontend/src/constant/grade_category.js`
- [Firebase configuration](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/firebase.js): `frontend/src/firebase.js`

### Learning experience

- [Level-one question browser](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/Level1Questions.jsx): `frontend/src/module/Level1Questions.jsx`
- [Question bank](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/constant/questions_data.js): `frontend/src/constant/questions_data.js`
- [Interactive question formats](https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/components/questions): `frontend/src/module/components/questions`
- [Voice and slow games](https://github.com/kurtpantaleon/linggo/tree/main/frontend/src/module/GamePlayLvl1Module): `frontend/src/module/GamePlayLvl1Module`
- [Sound catalog](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/constant/sound_data.js): `frontend/src/constant/sound_data.js`

### Shared presentation

- [Background layout](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/BackgroundLayout.jsx): `frontend/src/module/components/BackgroundLayout.jsx`
- [Learner header](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/PageHeaderLayout.jsx): `frontend/src/module/components/PageHeaderLayout.jsx`
- [Choice grids](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/ChoiceGrid.jsx): `frontend/src/module/components/ChoiceGrid.jsx`
- [Voice character grid](https://github.com/kurtpantaleon/linggo/blob/main/frontend/src/module/components/VoiceCharacterGrid.jsx): `frontend/src/module/components/VoiceCharacterGrid.jsx`

### Other components

- **Learner**
- **Firestore**

## Connections

- Learner → Route dispatcher: opens app
- Route dispatcher → Account screens: routes to (evidence: `frontend/src/App.jsx`)
- Route dispatcher → Learner setup: routes to (evidence: `frontend/src/App.jsx`)
- Route dispatcher → Level-one question browser: routes to (evidence: `frontend/src/App.jsx`)
- Route dispatcher → Voice and slow games: routes to (evidence: `frontend/src/App.jsx`)
- Learner → Sign-up details: enters details
- Sign-up details → Grade and section options: uses options (evidence: `frontend/src/module/AccountModule/SignUpDetails.jsx`)
- Sign-up details → Firestore: writes user (evidence: `frontend/src/module/AccountModule/SignUpDetails.jsx`)
- Sign-up details → Firebase configuration: uses configuration (evidence: `frontend/src/module/AccountModule/SignUpDetails.jsx`)
- Learner setup → Grade and section options: uses options (evidence: `frontend/src/module/IntroModule/GradeSectionDetail.jsx`)
- Level-one question browser → Question bank: loads questions (evidence: `frontend/src/module/Level1Questions.jsx`)
- Level-one question browser → Interactive question formats: dispatches questions (evidence: `frontend/src/module/Level1Questions.jsx`)
- Voice and slow games → Sound catalog: loads sounds (evidence: `frontend/src/module/GamePlayLvl1Module/Voice_SlowGame.jsx`)
- Sign-up details → Background layout: renders in (evidence: `frontend/src/module/AccountModule/SignUpDetails.jsx`)
- Learner setup → Background layout: renders in (evidence: `frontend/src/module/IntroModule/GradeSectionDetail.jsx`)
- Level-one question browser → Background layout: renders in (evidence: `frontend/src/module/Level1Questions.jsx`)
- Voice and slow games → Learner header: renders with (evidence: `frontend/src/module/GamePlayLvl1Module/Voice_SlowGame.jsx`)
- Interactive question formats → Background layout: renders in (evidence: `frontend/src/module/components/questions/DragAndDrop4ChoicesWithVoice.jsx`)
- Interactive question formats → Learner header: renders with (evidence: `frontend/src/module/components/questions/DragAndDrop4ChoicesWithVoice.jsx`)
- Voice and slow games → Choice grids: uses grid (evidence: `frontend/src/module/GamePlayLvl1Module/Choice_Voice.jsx`)
- Voice and slow games → Voice character grid: uses grid (evidence: `frontend/src/module/GamePlayLvl1Module/Voice_Character.jsx`)
- Interactive question formats → Voice character grid: uses grid (evidence: `frontend/src/module/components/questions/FourChoicesWithCharacterAndVoice.jsx`)
