# hossam-yaser/docdoc architecture

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

- Interactive diagram: https://gitdiagram.com/hossam-yaser/docdoc
- Repository: https://github.com/hossam-yaser/docdoc

## Overview

The tree indicates a Flutter doctor-care app with onboarding, account access, doctor and specialty discovery, appointment booking, and appointment tracking. The README is only Flutter boilerplate, and the sampled source contains platform build/startup files rather than Dart application code. Nodes therefore reflect the feature directories and exact paths in the tree; runtime calls and navigation between them could not be verified, so no flow edges are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App foundation"]
  node_app_entry["App entry"]
  node_app_shell["App shell<br/>[doc_app.dart]"]
  node_routing["App routing"]
  node_networking["API networking"]
end

subgraph group_account["Account access"]
  node_onboarding["Onboarding"]
  node_login["Login"]
  node_signup["Sign up"]
end

subgraph group_discovery["Doctor discovery"]
  node_home["Home"]
  node_specialities["Specialities"]
  node_speciality_doctors["Specialty doctors"]
  node_doctor_details["Doctor details"]
end

subgraph group_care["Appointment care"]
  node_booking["Book appointment"]
  node_appointments["Appointments"]
end

node_patient(("Patient"))

click node_app_entry "https://github.com/hossam-yaser/docdoc/blob/development/lib/main_development.dart"
click node_app_shell "https://github.com/hossam-yaser/docdoc/blob/development/lib/doc_app.dart"
click node_routing "https://github.com/hossam-yaser/docdoc/tree/development/lib/core/routing"
click node_networking "https://github.com/hossam-yaser/docdoc/tree/development/lib/core/networking"
click node_onboarding "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/onboarding"
click node_login "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/login"
click node_signup "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/signup"
click node_home "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/home"
click node_specialities "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/all_speciality"
click node_speciality_doctors "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/view_speciality_doctors"
click node_doctor_details "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/doctor_details"
click node_booking "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/book_appointment"
click node_appointments "https://github.com/hossam-yaser/docdoc/tree/development/lib/features/appointments"

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_app_shell,node_routing,node_networking toneBlue
class node_onboarding,node_login,node_signup toneAmber
class node_home,node_specialities,node_speciality_doctors,node_doctor_details toneMint
class node_booking,node_appointments toneRose
class node_patient toneIndigo
```

## Components

### App foundation

- [App entry](https://github.com/hossam-yaser/docdoc/blob/development/lib/main_development.dart): `lib/main_development.dart`
- [App shell](https://github.com/hossam-yaser/docdoc/blob/development/lib/doc_app.dart): `lib/doc_app.dart`
- [App routing](https://github.com/hossam-yaser/docdoc/tree/development/lib/core/routing): `lib/core/routing`
- [API networking](https://github.com/hossam-yaser/docdoc/tree/development/lib/core/networking): `lib/core/networking`

### Account access

- [Onboarding](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/onboarding): `lib/features/onboarding`
- [Login](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/login): `lib/features/login`
- [Sign up](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/signup): `lib/features/signup`

### Doctor discovery

- [Home](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/home): `lib/features/home`
- [Specialities](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/all_speciality): `lib/features/all_speciality`
- [Specialty doctors](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/view_speciality_doctors): `lib/features/view_speciality_doctors`
- [Doctor details](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/doctor_details): `lib/features/doctor_details`

### Appointment care

- [Book appointment](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/book_appointment): `lib/features/book_appointment`
- [Appointments](https://github.com/hossam-yaser/docdoc/tree/development/lib/features/appointments): `lib/features/appointments`

### Other components

- **Patient**
