# abdorashed22/qualifai architecture

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

- Interactive diagram: https://gitdiagram.com/abdorashed22/qualifai
- Repository: https://github.com/abdorashed22/qualifai

## Overview

Qualif AI is a Flutter application for managing institutional accreditation. The apparent main workflow is authentication, selecting standards, uploading evidence, viewing AI analysis and reports, and reviewer follow-up. The tree also documents administration, dashboards, deadlines, messaging, notifications, and support. Source excerpts cover platform startup rather than Dart feature wiring, and the README is empty, so feature relationships below are dashed and unverified; the feature map reflects the tree, not inspected implementations.

Main entry points: [`lib/core/router/app_router.dart`](https://github.com/abdorashed22/qualifai/blob/master/lib/core/router/app_router.dart) (App routing), [`lib/features/accreditation/presentation/screens/file_upload_screen.dart`](https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/presentation/screens/file_upload_screen.dart) (Standards and uploads), [`lib/main.dart`](https://github.com/abdorashed22/qualifai/blob/master/lib/main.dart) (Flutter entry), [`lib/features/auth/presentation/screens/login_screen.dart`](https://github.com/abdorashed22/qualifai/blob/master/lib/features/auth/presentation/screens/login_screen.dart) (Authentication)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_app_entry["Flutter entry<br/>[main.dart]"]
  node_auth["Authentication<br/>[login_screen.dart]"]
  node_router["App routing<br/>[app_router.dart]"]
end

subgraph group_accreditation["Accreditation workflow"]
  node_accreditation_ui["Standards and uploads"]
  node_accreditation_api["Accreditation data"]
  node_ai_analysis["AI analysis view"]
end

subgraph group_oversight["Review and reporting"]
  node_reports["Reports"]
  node_reviewer["Reviewer workflow"]
  node_dashboard["Dashboards"]
end

subgraph group_operations["Institution operations"]
  node_admin["Administration"]
  node_deadlines["Deadlines"]
  node_profile["Role-based profile"]
end

subgraph group_engagement["Communication and support"]
  node_chat["Messaging"]
  node_notifications["Notifications"]
  node_support["Support requests"]
end

node_user(("User"))

node_user -.->|"opens"| node_app_entry
node_app_entry -.->|"starts"| node_auth
node_auth -.->|"continues"| node_router
node_router -.->|"routes to"| node_accreditation_ui
node_accreditation_ui -.->|"requests data"| node_accreditation_api
node_accreditation_ui -.->|"shows analysis"| node_ai_analysis
node_ai_analysis -.->|"informs reports"| node_reports
node_reports -.->|"supports review"| node_reviewer
node_router -.->|"routes to"| node_dashboard
node_router -.->|"routes to"| node_admin
node_router -.->|"routes to"| node_deadlines
node_router -.->|"routes to"| node_profile
node_router -.->|"routes to"| node_chat
node_router -.->|"routes to"| node_notifications
node_router -.->|"routes to"| node_support

click node_app_entry "https://github.com/abdorashed22/qualifai/blob/master/lib/main.dart"
click node_auth "https://github.com/abdorashed22/qualifai/blob/master/lib/features/auth/presentation/screens/login_screen.dart"
click node_router "https://github.com/abdorashed22/qualifai/blob/master/lib/core/router/app_router.dart"
click node_accreditation_ui "https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/presentation/screens/file_upload_screen.dart"
click node_accreditation_api "https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/data/remote/accreditation_remote_ds.dart"
click node_ai_analysis "https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/presentation/screens/ai_analysis_screen.dart"
click node_reports "https://github.com/abdorashed22/qualifai/blob/master/lib/features/reports/presentation/screens/reports_list_screen.dart"
click node_reviewer "https://github.com/abdorashed22/qualifai/blob/master/lib/features/reviewer/presentation/screens/reviewer_section_review_screen.dart"
click node_dashboard "https://github.com/abdorashed22/qualifai/blob/master/lib/features/dashboard/presentation/screens/dashboard_screen.dart"
click node_admin "https://github.com/abdorashed22/qualifai/blob/master/lib/features/admin/presentation/screens/admin_dashboard_screen.dart"
click node_deadlines "https://github.com/abdorashed22/qualifai/blob/master/lib/features/deadlines/presentation/screens/deadlines_screen.dart"
click node_profile "https://github.com/abdorashed22/qualifai/blob/master/lib/features/profile/presentation/screens/profile_screen.dart"
click node_chat "https://github.com/abdorashed22/qualifai/blob/master/lib/features/chat/presentation/screens/chat_list_screen.dart"
click node_notifications "https://github.com/abdorashed22/qualifai/blob/master/lib/features/notifications/presentation/screens/notifications_screen.dart"
click node_support "https://github.com/abdorashed22/qualifai/blob/master/lib/features/support/presentation/screens/support_screen.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_app_entry,node_auth,node_router,node_user toneBlue
class node_accreditation_ui,node_accreditation_api,node_ai_analysis toneAmber
class node_reports,node_reviewer,node_dashboard toneMint
class node_admin,node_deadlines,node_profile toneRose
class node_chat,node_notifications,node_support toneIndigo
```

## Components

### Application shell

- [Flutter entry](https://github.com/abdorashed22/qualifai/blob/master/lib/main.dart): `lib/main.dart`
- [Authentication](https://github.com/abdorashed22/qualifai/blob/master/lib/features/auth/presentation/screens/login_screen.dart): `lib/features/auth/presentation/screens/login_screen.dart`
- [App routing](https://github.com/abdorashed22/qualifai/blob/master/lib/core/router/app_router.dart): `lib/core/router/app_router.dart`

### Accreditation workflow

- [Standards and uploads](https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/presentation/screens/file_upload_screen.dart): `lib/features/accreditation/presentation/screens/file_upload_screen.dart`
- [Accreditation data](https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/data/remote/accreditation_remote_ds.dart): `lib/features/accreditation/data/remote/accreditation_remote_ds.dart`
- [AI analysis view](https://github.com/abdorashed22/qualifai/blob/master/lib/features/accreditation/presentation/screens/ai_analysis_screen.dart): `lib/features/accreditation/presentation/screens/ai_analysis_screen.dart`

### Review and reporting

- [Reports](https://github.com/abdorashed22/qualifai/blob/master/lib/features/reports/presentation/screens/reports_list_screen.dart): `lib/features/reports/presentation/screens/reports_list_screen.dart`
- [Reviewer workflow](https://github.com/abdorashed22/qualifai/blob/master/lib/features/reviewer/presentation/screens/reviewer_section_review_screen.dart): `lib/features/reviewer/presentation/screens/reviewer_section_review_screen.dart`
- [Dashboards](https://github.com/abdorashed22/qualifai/blob/master/lib/features/dashboard/presentation/screens/dashboard_screen.dart): `lib/features/dashboard/presentation/screens/dashboard_screen.dart`

### Institution operations

- [Administration](https://github.com/abdorashed22/qualifai/blob/master/lib/features/admin/presentation/screens/admin_dashboard_screen.dart): `lib/features/admin/presentation/screens/admin_dashboard_screen.dart`
- [Deadlines](https://github.com/abdorashed22/qualifai/blob/master/lib/features/deadlines/presentation/screens/deadlines_screen.dart): `lib/features/deadlines/presentation/screens/deadlines_screen.dart`
- [Role-based profile](https://github.com/abdorashed22/qualifai/blob/master/lib/features/profile/presentation/screens/profile_screen.dart): `lib/features/profile/presentation/screens/profile_screen.dart`

### Communication and support

- [Messaging](https://github.com/abdorashed22/qualifai/blob/master/lib/features/chat/presentation/screens/chat_list_screen.dart): `lib/features/chat/presentation/screens/chat_list_screen.dart`
- [Notifications](https://github.com/abdorashed22/qualifai/blob/master/lib/features/notifications/presentation/screens/notifications_screen.dart): `lib/features/notifications/presentation/screens/notifications_screen.dart`
- [Support requests](https://github.com/abdorashed22/qualifai/blob/master/lib/features/support/presentation/screens/support_screen.dart): `lib/features/support/presentation/screens/support_screen.dart`

### Other components

- **User**

## Connections

- User → Flutter entry: opens
- Flutter entry → Authentication: starts
- Authentication → App routing: continues
- App routing → Standards and uploads: routes to
- Standards and uploads → Accreditation data: requests data
- Standards and uploads → AI analysis view: shows analysis
- AI analysis view → Reports: informs reports
- Reports → Reviewer workflow: supports review
- App routing → Dashboards: routes to
- App routing → Administration: routes to
- App routing → Deadlines: routes to
- App routing → Role-based profile: routes to
- App routing → Messaging: routes to
- App routing → Notifications: routes to
- App routing → Support requests: routes to
