# eldar2021/my_quran architecture

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

- Interactive diagram: https://gitdiagram.com/eldar2021/my_quran
- Repository: https://github.com/eldar2021/my_quran

## Overview

MyQuran is a Flutter mobile app for Quran reading and recitation, prayer-time awareness, and participation in a global Hatim community. The README documents these user-facing capabilities and illustrates login, home, Quran reading/audio, Hatim, profile, settings, and rankings. The tree identifies corresponding app modules and shared packages, but the sampled source excerpts are platform bootstrap files rather than Dart runtime code; edges therefore show only documented product relationships, not unverified internal calls.

Main entry points: [`app/lib/main.dart`](https://github.com/eldar2021/my_quran/blob/main/app/lib/main.dart) (MyQuran app), [`app/lib/modules/home/view/home_view.dart`](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/home/view/home_view.dart) (Home), [`app/lib/modules/login/view/login_view.dart`](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/login/view/login_view.dart) (Sign in), [`app/lib/modules/quran/view/quran_view.dart`](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/quran/view/quran_view.dart) (Quran reading)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App experience"]
  node_myquran["MyQuran app<br/>[main.dart]"]
  node_home["Home<br/>[home_view.dart]"]
  node_login["Sign in<br/>[login_view.dart]"]
end

subgraph group_quran["Quran engagement"]
  node_quran_read["Quran reading<br/>[quran_view.dart]"]
  node_quran_data["Quran content"]
  node_reading_settings["Reading settings"]
  node_audio["Quran audio"]
  node_audio_controls["Audio controls"]
end

subgraph group_community["Community and account"]
  node_hatim["Hatim recitation<br/>[hatim_view.dart]"]
  node_hatim_create["Create Hatim"]
  node_hatim_data["Hatim data"]
  node_rankings["Community rankings"]
  node_profile["User profile<br/>[profile_view.dart]"]
end

subgraph group_services["Shared services"]
  node_prayer_times["Prayer times"]
  node_location["Location"]
  node_notifications["Notifications"]
  node_settings["App settings"]
end

node_user(("App user"))

node_user -->|"uses"| node_myquran
node_myquran -->|"offers sign-in"| node_login
node_myquran -->|"offers home"| node_home
node_myquran -->|"offers reading"| node_quran_read
node_myquran -->|"offers recitation"| node_audio
node_myquran -->|"offers Hatim"| node_hatim
node_myquran -->|"shows rankings"| node_rankings
node_myquran -->|"offers profile"| node_profile
node_myquran -->|"offers prayer times"| node_prayer_times
node_myquran -->|"offers settings"| node_settings

click node_myquran "https://github.com/eldar2021/my_quran/blob/main/app/lib/main.dart"
click node_home "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/home/view/home_view.dart"
click node_login "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/login/view/login_view.dart"
click node_quran_read "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/quran/view/quran_view.dart"
click node_quran_data "https://github.com/eldar2021/my_quran/tree/main/packages/mq_quran_client/lib/quran_data"
click node_reading_settings "https://github.com/eldar2021/my_quran/tree/main/app/lib/modules/quran_book/quran_book_settings"
click node_audio "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/quran_audio/view/quran_audio_view.dart"
click node_audio_controls "https://github.com/eldar2021/my_quran/blob/main/app/lib/components/audio/audio_center_button.dart"
click node_hatim "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/hatim/view/hatim_view.dart"
click node_hatim_create "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/hatim_crud/view/hatim_crud_view.dart"
click node_hatim_data "https://github.com/eldar2021/my_quran/tree/main/packages/mq_hatim_repository/lib/src/repository"
click node_rankings "https://github.com/eldar2021/my_quran/tree/main/app/lib/modules/user_rating/view"
click node_profile "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/profile/view/profile_view.dart"
click node_prayer_times "https://github.com/eldar2021/my_quran/tree/main/packages/mq_prayer_time/lib/src/prayer_time/service"
click node_location "https://github.com/eldar2021/my_quran/tree/main/packages/mq_prayer_time/lib/src/location"
click node_notifications "https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/notification/view/notification_view.dart"
click node_settings "https://github.com/eldar2021/my_quran/tree/main/app/lib/modules/settings/view"

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_myquran,node_home,node_login,node_user toneBlue
class node_quran_read,node_quran_data,node_reading_settings,node_audio,node_audio_controls toneAmber
class node_hatim,node_hatim_create,node_hatim_data,node_rankings,node_profile toneMint
class node_prayer_times,node_location,node_notifications,node_settings toneRose
```

## Components

### App experience

- [MyQuran app](https://github.com/eldar2021/my_quran/blob/main/app/lib/main.dart): `app/lib/main.dart`
- [Home](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/home/view/home_view.dart): `app/lib/modules/home/view/home_view.dart`
- [Sign in](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/login/view/login_view.dart): `app/lib/modules/login/view/login_view.dart`

### Quran engagement

- [Quran reading](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/quran/view/quran_view.dart): `app/lib/modules/quran/view/quran_view.dart`
- [Quran content](https://github.com/eldar2021/my_quran/tree/main/packages/mq_quran_client/lib/quran_data): `packages/mq_quran_client/lib/quran_data`
- [Reading settings](https://github.com/eldar2021/my_quran/tree/main/app/lib/modules/quran_book/quran_book_settings): `app/lib/modules/quran_book/quran_book_settings`
- [Quran audio](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/quran_audio/view/quran_audio_view.dart): `app/lib/modules/quran_audio/view/quran_audio_view.dart`
- [Audio controls](https://github.com/eldar2021/my_quran/blob/main/app/lib/components/audio/audio_center_button.dart): `app/lib/components/audio/audio_center_button.dart`

### Community and account

- [Hatim recitation](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/hatim/view/hatim_view.dart): `app/lib/modules/hatim/view/hatim_view.dart`
- [Create Hatim](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/hatim_crud/view/hatim_crud_view.dart): `app/lib/modules/hatim_crud/view/hatim_crud_view.dart`
- [Hatim data](https://github.com/eldar2021/my_quran/tree/main/packages/mq_hatim_repository/lib/src/repository): `packages/mq_hatim_repository/lib/src/repository`
- [Community rankings](https://github.com/eldar2021/my_quran/tree/main/app/lib/modules/user_rating/view): `app/lib/modules/user_rating/view`
- [User profile](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/profile/view/profile_view.dart): `app/lib/modules/profile/view/profile_view.dart`

### Shared services

- [Prayer times](https://github.com/eldar2021/my_quran/tree/main/packages/mq_prayer_time/lib/src/prayer_time/service): `packages/mq_prayer_time/lib/src/prayer_time/service`
- [Location](https://github.com/eldar2021/my_quran/tree/main/packages/mq_prayer_time/lib/src/location): `packages/mq_prayer_time/lib/src/location`
- [Notifications](https://github.com/eldar2021/my_quran/blob/main/app/lib/modules/notification/view/notification_view.dart): `app/lib/modules/notification/view/notification_view.dart`
- [App settings](https://github.com/eldar2021/my_quran/tree/main/app/lib/modules/settings/view): `app/lib/modules/settings/view`

### Other components

- **App user**

## Connections

- App user → MyQuran app: uses (evidence: `README.md`)
- MyQuran app → Sign in: offers sign-in (evidence: `README.md`)
- MyQuran app → Home: offers home (evidence: `README.md`)
- MyQuran app → Quran reading: offers reading (evidence: `README.md`)
- MyQuran app → Quran audio: offers recitation (evidence: `README.md`)
- MyQuran app → Hatim recitation: offers Hatim (evidence: `README.md`)
- MyQuran app → Community rankings: shows rankings (evidence: `README.md`)
- MyQuran app → User profile: offers profile (evidence: `README.md`)
- MyQuran app → Prayer times: offers prayer times (evidence: `README.md`)
- MyQuran app → App settings: offers settings (evidence: `README.md`)
