# tariklob/nouro_alqurane architecture

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

- Interactive diagram: https://gitdiagram.com/tariklob/nouro_alqurane
- Repository: https://github.com/tariklob/nouro_alqurane

## Overview

Qaïda Nourania is a Flask learning app for one teacher and one class of students. Students sign in, complete a 10-lesson Arabic reading course or Quran practice, and save attempts and learned verses; the teacher creates student accounts and reviews progress. The excerpts show authentication, persistence, student creation, and Quran progress routes. README-described browser features and teacher reporting are retained, but their separate UI implementation is not present in the supplied tree, so those relationships rely on documentation.

Main entry points: [`app.py`](https://github.com/tariklob/nouro_alqurane/blob/main/app.py) (Quran learning), [`quran_data.py`](https://github.com/tariklob/nouro_alqurane/blob/main/quran_data.py) (Surah catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Accounts &amp; access"]
  node_auth["Sign-in &amp; passwords<br/>[app.py]"]
  node_student_accounts["Student accounts<br/>[app.py]"]
end

subgraph group_learning["Learning workflows"]
  node_lesson_course["10-lesson course<br/>[app.py]"]
  node_arabic_practice["Arabic practice<br/>[app.py]"]
  node_quran_catalog["Surah catalog<br/>[quran_data.py]"]
  node_quran_learning["Quran learning<br/>[app.py]"]
  node_quran_services["Quran text &amp; audio"]
end

subgraph group_records["Progress &amp; reporting"]
  node_attempt_progress[("Lesson progress<br/>[app.py]")]
  node_quran_progress[("Verse progress<br/>[app.py]")]
  node_teacher_dashboard["Teacher dashboard<br/>[app.py]"]
end

node_teacher(("Teacher"))
node_student(("Student"))

node_student -->|"signs in"| node_auth
node_teacher -->|"signs in"| node_auth
node_auth -->|"checks accounts"| node_student_accounts
node_teacher -->|"creates accounts"| node_student_accounts
node_student -->|"starts lessons"| node_lesson_course
node_lesson_course -->|"presents exercises"| node_arabic_practice
node_student -->|"practices Quran"| node_quran_learning
node_quran_learning -->|"loads surahs"| node_quran_catalog
node_quran_learning -.->|"fetches text, audio"| node_quran_services
node_arabic_practice -->|"records attempts"| node_attempt_progress
node_quran_learning -->|"saves learned verses"| node_quran_progress
node_teacher -->|"reviews progress"| node_teacher_dashboard
node_teacher_dashboard -.->|"reads statistics"| node_attempt_progress
node_teacher_dashboard -.->|"reads verse records"| node_quran_progress

click node_auth "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_student_accounts "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_lesson_course "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_arabic_practice "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_quran_catalog "https://github.com/tariklob/nouro_alqurane/blob/main/quran_data.py"
click node_quran_learning "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_attempt_progress "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_quran_progress "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"
click node_teacher_dashboard "https://github.com/tariklob/nouro_alqurane/blob/main/app.py"

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_auth,node_student_accounts toneBlue
class node_lesson_course,node_arabic_practice,node_quran_catalog,node_quran_learning,node_quran_services toneAmber
class node_attempt_progress,node_quran_progress,node_teacher_dashboard toneMint
class node_teacher,node_student toneIndigo
```

## Components

### Accounts & access

- [Sign-in & passwords](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`
- [Student accounts](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`

### Learning workflows

- [10-lesson course](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`
- [Arabic practice](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`
- [Surah catalog](https://github.com/tariklob/nouro_alqurane/blob/main/quran_data.py): `quran_data.py`
- [Quran learning](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`
- **Quran text & audio**

### Progress & reporting

- [Lesson progress](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`
- [Verse progress](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`
- [Teacher dashboard](https://github.com/tariklob/nouro_alqurane/blob/main/app.py): `app.py`

### Other components

- **Teacher**
- **Student**

## Connections

- Student → Sign-in & passwords: signs in (evidence: `README.md`)
- Teacher → Sign-in & passwords: signs in (evidence: `README.md`)
- Sign-in & passwords → Student accounts: checks accounts (evidence: `app.py`)
- Teacher → Student accounts: creates accounts (evidence: `README.md`)
- Student → 10-lesson course: starts lessons (evidence: `README.md`)
- 10-lesson course → Arabic practice: presents exercises (evidence: `README.md`)
- Student → Quran learning: practices Quran (evidence: `README.md`)
- Quran learning → Surah catalog: loads surahs (evidence: `app.py`)
- Quran learning → Quran text & audio: fetches text, audio (evidence: `README.md`)
- Arabic practice → Lesson progress: records attempts (evidence: `app.py`)
- Quran learning → Verse progress: saves learned verses (evidence: `app.py`)
- Teacher → Teacher dashboard: reviews progress (evidence: `README.md`)
- Teacher dashboard → Lesson progress: reads statistics (evidence: `README.md`)
- Teacher dashboard → Verse progress: reads verse records (evidence: `README.md`)
