# shamalali7274/projecct2 architecture

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

- Interactive diagram: https://gitdiagram.com/shamalali7274/projecct2
- Repository: https://github.com/shamalali7274/projecct2

## Overview

This is a cross-platform Flutter app for an academic concourse serving students and teachers, with authentication, Quran recitation, smart recitation, and student progress views. The tree supports these product areas, but the README is empty and no Dart implementation excerpts were provided, so their internal calls and ordering cannot be verified. The shown native desktop code establishes application windows and startup; other platform launchers and plugin registration are omitted where they do not clarify product behavior.

Main entry points: [`windows/runner/flutter_window.h`](https://github.com/shamalali7274/projecct2/blob/main/windows/runner/flutter_window.h) (Flutter window), [`windows/runner/main.cpp`](https://github.com/shamalali7274/projecct2/blob/main/windows/runner/main.cpp) (Windows entry point), [`linux/runner/main.cc`](https://github.com/shamalali7274/projecct2/blob/main/linux/runner/main.cc) (Linux entry point), [`windows/runner/win32_window.h`](https://github.com/shamalali7274/projecct2/blob/main/windows/runner/win32_window.h) (Native window)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Platform shell"]
  node_windows_entry["Windows entry point<br/>[main.cpp]"]
  node_flutter_window["Flutter window<br/>[flutter_window.h]"]
  node_win32_window["Native window<br/>[win32_window.h]"]
  node_linux_entry["Linux entry point<br/>[main.cc]"]
  node_linux_app["Linux application<br/>[my_application.h]"]
  node_app_root["Flutter app entry<br/>[main.dart]"]
end

subgraph group_identity["Identity and onboarding"]
  node_auth["Sign-in and sign-up"]
  node_auth_domain["Authentication rules"]
  node_auth_data["Authentication data"]
  node_onboarding["Onboarding"]
end

subgraph group_learning["Quran learning"]
  node_recitation["Quran recitation"]
  node_recitation_domain["Recitation sessions"]
  node_recitation_data["Recitation repository"]
  node_smart_recitation["Smart recitation"]
  node_smart_data["Smart session data"]
end

subgraph group_student["Student experience"]
  node_student_home["Student dashboard"]
  node_student_data["Student dashboard data"]
  node_student_recitations["Recitation history"]
end

subgraph group_teacher["Teacher tools"]
  node_teacher_dashboard["Teacher dashboard"]
  node_teacher_data["Teacher student data"]
  node_student_list["Student list"]
  node_student_detail["Student progress detail"]
  node_settings["Settings<br/>[settings_page.dart]"]
end

node_secure_storage["Secure storage"]
node_api_client["API client<br/>[api_client.dart]"]

node_windows_entry -->|"creates window"| node_flutter_window
node_flutter_window -->|"extends window"| node_win32_window
node_linux_entry -->|"creates application"| node_linux_app

click node_windows_entry "https://github.com/shamalali7274/projecct2/blob/main/windows/runner/main.cpp"
click node_flutter_window "https://github.com/shamalali7274/projecct2/blob/main/windows/runner/flutter_window.h"
click node_win32_window "https://github.com/shamalali7274/projecct2/blob/main/windows/runner/win32_window.h"
click node_linux_entry "https://github.com/shamalali7274/projecct2/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/shamalali7274/projecct2/blob/main/linux/runner/my_application.h"
click node_app_root "https://github.com/shamalali7274/projecct2/blob/main/lib/main.dart"
click node_auth "https://github.com/shamalali7274/projecct2/tree/main/lib/features/auth/presentation"
click node_auth_domain "https://github.com/shamalali7274/projecct2/tree/main/lib/features/auth/domain"
click node_auth_data "https://github.com/shamalali7274/projecct2/tree/main/lib/features/auth/data"
click node_onboarding "https://github.com/shamalali7274/projecct2/tree/main/lib/features/onboarding/presentation"
click node_recitation "https://github.com/shamalali7274/projecct2/tree/main/lib/features/recitation/presentation"
click node_recitation_domain "https://github.com/shamalali7274/projecct2/tree/main/lib/features/recitation/domain"
click node_recitation_data "https://github.com/shamalali7274/projecct2/blob/main/lib/features/recitation/data/repositories/recitation_repository.dart"
click node_smart_recitation "https://github.com/shamalali7274/projecct2/tree/main/lib/features/smart_recitation/presentation"
click node_smart_data "https://github.com/shamalali7274/projecct2/blob/main/lib/features/smart_recitation/data/repositories/smart_recitation_repository.dart"
click node_student_home "https://github.com/shamalali7274/projecct2/tree/main/lib/features/student_home/presentation"
click node_student_data "https://github.com/shamalali7274/projecct2/tree/main/lib/features/student_home/data/repositories"
click node_student_recitations "https://github.com/shamalali7274/projecct2/tree/main/lib/features/student_recitations/presentation"
click node_teacher_dashboard "https://github.com/shamalali7274/projecct2/tree/main/lib/features/dashboard/presentation"
click node_teacher_data "https://github.com/shamalali7274/projecct2/blob/main/lib/features/dashboard/data/repositories/teacher_repository.dart"
click node_student_list "https://github.com/shamalali7274/projecct2/blob/main/lib/features/students/presentation/pages/students_list_page.dart"
click node_student_detail "https://github.com/shamalali7274/projecct2/blob/main/lib/features/student_detail/presentation/pages/student_detail_page.dart"
click node_settings "https://github.com/shamalali7274/projecct2/blob/main/lib/features/settings/presentation/pages/settings_page.dart"
click node_secure_storage "https://github.com/shamalali7274/projecct2/blob/main/lib/core/storage/secure_storage.dart"
click node_api_client "https://github.com/shamalali7274/projecct2/blob/main/lib/core/network/api_client.dart"

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_windows_entry,node_flutter_window,node_win32_window,node_linux_entry,node_linux_app,node_app_root,node_api_client toneBlue
class node_auth,node_auth_domain,node_auth_data,node_onboarding,node_secure_storage toneAmber
class node_recitation,node_recitation_domain,node_recitation_data,node_smart_recitation,node_smart_data toneMint
class node_student_home,node_student_data,node_student_recitations toneRose
class node_teacher_dashboard,node_teacher_data,node_student_list,node_student_detail,node_settings toneIndigo
```

## Components

### Platform shell

- [Windows entry point](https://github.com/shamalali7274/projecct2/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/shamalali7274/projecct2/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Native window](https://github.com/shamalali7274/projecct2/blob/main/windows/runner/win32_window.h): `windows/runner/win32_window.h`
- [Linux entry point](https://github.com/shamalali7274/projecct2/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux application](https://github.com/shamalali7274/projecct2/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Flutter app entry](https://github.com/shamalali7274/projecct2/blob/main/lib/main.dart): `lib/main.dart`

### Identity and onboarding

- [Sign-in and sign-up](https://github.com/shamalali7274/projecct2/tree/main/lib/features/auth/presentation): `lib/features/auth/presentation`
- [Authentication rules](https://github.com/shamalali7274/projecct2/tree/main/lib/features/auth/domain): `lib/features/auth/domain`
- [Authentication data](https://github.com/shamalali7274/projecct2/tree/main/lib/features/auth/data): `lib/features/auth/data`
- [Onboarding](https://github.com/shamalali7274/projecct2/tree/main/lib/features/onboarding/presentation): `lib/features/onboarding/presentation`

### Quran learning

- [Quran recitation](https://github.com/shamalali7274/projecct2/tree/main/lib/features/recitation/presentation): `lib/features/recitation/presentation`
- [Recitation sessions](https://github.com/shamalali7274/projecct2/tree/main/lib/features/recitation/domain): `lib/features/recitation/domain`
- [Recitation repository](https://github.com/shamalali7274/projecct2/blob/main/lib/features/recitation/data/repositories/recitation_repository.dart): `lib/features/recitation/data/repositories/recitation_repository.dart`
- [Smart recitation](https://github.com/shamalali7274/projecct2/tree/main/lib/features/smart_recitation/presentation): `lib/features/smart_recitation/presentation`
- [Smart session data](https://github.com/shamalali7274/projecct2/blob/main/lib/features/smart_recitation/data/repositories/smart_recitation_repository.dart): `lib/features/smart_recitation/data/repositories/smart_recitation_repository.dart`

### Student experience

- [Student dashboard](https://github.com/shamalali7274/projecct2/tree/main/lib/features/student_home/presentation): `lib/features/student_home/presentation`
- [Student dashboard data](https://github.com/shamalali7274/projecct2/tree/main/lib/features/student_home/data/repositories): `lib/features/student_home/data/repositories`
- [Recitation history](https://github.com/shamalali7274/projecct2/tree/main/lib/features/student_recitations/presentation): `lib/features/student_recitations/presentation`

### Teacher tools

- [Teacher dashboard](https://github.com/shamalali7274/projecct2/tree/main/lib/features/dashboard/presentation): `lib/features/dashboard/presentation`
- [Teacher student data](https://github.com/shamalali7274/projecct2/blob/main/lib/features/dashboard/data/repositories/teacher_repository.dart): `lib/features/dashboard/data/repositories/teacher_repository.dart`
- [Student list](https://github.com/shamalali7274/projecct2/blob/main/lib/features/students/presentation/pages/students_list_page.dart): `lib/features/students/presentation/pages/students_list_page.dart`
- [Student progress detail](https://github.com/shamalali7274/projecct2/blob/main/lib/features/student_detail/presentation/pages/student_detail_page.dart): `lib/features/student_detail/presentation/pages/student_detail_page.dart`
- [Settings](https://github.com/shamalali7274/projecct2/blob/main/lib/features/settings/presentation/pages/settings_page.dart): `lib/features/settings/presentation/pages/settings_page.dart`

### Other components

- [Secure storage](https://github.com/shamalali7274/projecct2/blob/main/lib/core/storage/secure_storage.dart): `lib/core/storage/secure_storage.dart`
- [API client](https://github.com/shamalali7274/projecct2/blob/main/lib/core/network/api_client.dart): `lib/core/network/api_client.dart`

## Connections

- Windows entry point → Flutter window: creates window (evidence: `windows/runner/main.cpp`)
- Flutter window → Native window: extends window (evidence: `windows/runner/flutter_window.h`)
- Linux entry point → Linux application: creates application (evidence: `linux/runner/main.cc`)
