# sifoukhemira/seif_work architecture

> Architecture diagram of the GitHub repository sifoukhemira/seif_work, 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/sifoukhemira/seif_work
- Repository: https://github.com/sifoukhemira/seif_work

## Overview

The repository is a Flutter barber-shop app with client and barber-facing screens, appointment/reservation features, and Firebase-related configuration and functions. The README is only a Flutter starter template, and no Dart application source was excerpted, so the workflow and connections below are inferred from feature names in the tree; dashed edges mark those unverified relationships.

Main entry points: [`lib/main.dart`](https://github.com/sifoukhemira/seif_work/blob/master/lib/main.dart) (App startup), [`lib/screens/features/ClientSigning/presenetation/ClientLogIn.dart`](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSigning/presenetation/ClientLogIn.dart) (Client sign-in), [`lib/services/auth.dart`](https://github.com/sifoukhemira/seif_work/blob/master/lib/services/auth.dart) (Authentication service), [`lib/screens/features/splash/presentation/splash_view.dart`](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/splash/presentation/splash_view.dart) (Splash screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_app_start["App startup<br/>[main.dart]"]
  node_splash["Splash screen<br/>[splash_view.dart]"]
end

subgraph group_client["Client experience"]
  node_client_auth["Client sign-in<br/>[ClientLogIn.dart]"]
  node_client_signup["Client registration<br/>[ClientSignUp.dart]"]
  node_shop_discovery["Shop discovery<br/>[choosing_page.dart]"]
  node_shop_detail["Shop details"]
  node_reservation["Reservation<br/>[Reservation.dart]"]
  node_client_appointments["Client appointments"]
  node_client_settings["Client settings"]
end

subgraph group_barber["Barber management"]
  node_barber_auth["Barber sign-in<br/>[barber_login.dart]"]
  node_barber_signup["Shop registration"]
  node_appointment_management["Appointment management"]
  node_shop_profile["Shop profile"]
  node_shop_settings["Shop settings"]
end

subgraph group_shared["Shared services"]
  node_auth_service["Authentication service<br/>[auth.dart]"]
  node_firebase[("Firebase services")]
  node_shared_utilities["App utilities"]
end

node_client_actor(("Client"))
node_barber_actor(("Barber"))

node_client_actor -.->|"opens"| node_app_start
node_barber_actor -.->|"opens"| node_app_start
node_app_start -.->|"starts"| node_splash
node_splash -.->|"routes to"| node_client_auth
node_client_actor -.->|"signs in"| node_client_auth
node_client_actor -.->|"registers"| node_client_signup
node_client_auth -.->|"authenticates"| node_auth_service
node_client_signup -.->|"registers"| node_auth_service
node_client_actor -.->|"browses"| node_shop_discovery
node_shop_discovery -.->|"opens"| node_shop_detail
node_shop_detail -.->|"reserves"| node_reservation
node_reservation -.->|"stores"| node_firebase
node_client_actor -.->|"reviews"| node_client_appointments
node_barber_actor -.->|"signs in"| node_barber_auth
node_barber_actor -.->|"registers shop"| node_barber_signup
node_barber_auth -.->|"authenticates"| node_auth_service
node_barber_actor -.->|"manages"| node_appointment_management
node_barber_actor -.->|"views"| node_shop_profile
node_barber_actor -.->|"updates"| node_shop_settings

click node_app_start "https://github.com/sifoukhemira/seif_work/blob/master/lib/main.dart"
click node_splash "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/splash/presentation/splash_view.dart"
click node_client_auth "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSigning/presenetation/ClientLogIn.dart"
click node_client_signup "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSigning/backend/ClientSignUp.dart"
click node_shop_discovery "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ChoosingPage/presentation/choosing_page.dart"
click node_shop_detail "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/shopDetail/shop_detail_view.dart"
click node_reservation "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/shopDetail/backend/Reservation.dart"
click node_client_appointments "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientAppointmentsPage/ClientsAppointments.dart"
click node_client_settings "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSettings/ClientSettings.dart"
click node_barber_auth "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/barberLogin/presentation/barber_login.dart"
click node_barber_signup "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/Signup/presentation/Widgets/SignUpFirstPage.dart"
click node_appointment_management "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/Appointements/presentation/widgets/AppointementBodyPage.dart"
click node_shop_profile "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ShopProfile/presentation/ShopProfileView.dart"
click node_shop_settings "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ShopSetings/presentation/widgets/ShopSetingsBody.dart"
click node_auth_service "https://github.com/sifoukhemira/seif_work/blob/master/lib/services/auth.dart"
click node_shared_utilities "https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/core/utilis/SettingsFunctions.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_start,node_splash,node_client_actor toneBlue
class node_client_auth,node_client_signup,node_shop_discovery,node_shop_detail,node_reservation,node_client_appointments,node_client_settings toneAmber
class node_barber_auth,node_barber_signup,node_appointment_management,node_shop_profile,node_shop_settings toneMint
class node_auth_service,node_firebase,node_shared_utilities toneRose
class node_barber_actor toneIndigo
```

## Components

### App entry

- [App startup](https://github.com/sifoukhemira/seif_work/blob/master/lib/main.dart): `lib/main.dart`
- [Splash screen](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/splash/presentation/splash_view.dart): `lib/screens/features/splash/presentation/splash_view.dart`

### Client experience

- [Client sign-in](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSigning/presenetation/ClientLogIn.dart): `lib/screens/features/ClientSigning/presenetation/ClientLogIn.dart`
- [Client registration](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSigning/backend/ClientSignUp.dart): `lib/screens/features/ClientSigning/backend/ClientSignUp.dart`
- [Shop discovery](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ChoosingPage/presentation/choosing_page.dart): `lib/screens/features/ChoosingPage/presentation/choosing_page.dart`
- [Shop details](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/shopDetail/shop_detail_view.dart): `lib/screens/features/shopDetail/shop_detail_view.dart`
- [Reservation](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/shopDetail/backend/Reservation.dart): `lib/screens/features/shopDetail/backend/Reservation.dart`
- [Client appointments](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientAppointmentsPage/ClientsAppointments.dart): `lib/screens/features/ClientAppointmentsPage/ClientsAppointments.dart`
- [Client settings](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ClientSettings/ClientSettings.dart): `lib/screens/features/ClientSettings/ClientSettings.dart`

### Barber management

- [Barber sign-in](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/barberLogin/presentation/barber_login.dart): `lib/screens/features/barberLogin/presentation/barber_login.dart`
- [Shop registration](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/Signup/presentation/Widgets/SignUpFirstPage.dart): `lib/screens/features/Signup/presentation/Widgets/SignUpFirstPage.dart`
- [Appointment management](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/Appointements/presentation/widgets/AppointementBodyPage.dart): `lib/screens/features/Appointements/presentation/widgets/AppointementBodyPage.dart`
- [Shop profile](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ShopProfile/presentation/ShopProfileView.dart): `lib/screens/features/ShopProfile/presentation/ShopProfileView.dart`
- [Shop settings](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/features/ShopSetings/presentation/widgets/ShopSetingsBody.dart): `lib/screens/features/ShopSetings/presentation/widgets/ShopSetingsBody.dart`

### Shared services

- [Authentication service](https://github.com/sifoukhemira/seif_work/blob/master/lib/services/auth.dart): `lib/services/auth.dart`
- **Firebase services**
- [App utilities](https://github.com/sifoukhemira/seif_work/blob/master/lib/screens/core/utilis/SettingsFunctions.dart): `lib/screens/core/utilis/SettingsFunctions.dart`

### Other components

- **Client**
- **Barber**

## Connections

- Client → App startup: opens
- Barber → App startup: opens
- App startup → Splash screen: starts
- Splash screen → Client sign-in: routes to
- Client → Client sign-in: signs in
- Client → Client registration: registers
- Client sign-in → Authentication service: authenticates
- Client registration → Authentication service: registers
- Client → Shop discovery: browses
- Shop discovery → Shop details: opens
- Shop details → Reservation: reserves
- Reservation → Firebase services: stores
- Client → Client appointments: reviews
- Barber → Barber sign-in: signs in
- Barber → Shop registration: registers shop
- Barber sign-in → Authentication service: authenticates
- Barber → Appointment management: manages
- Barber → Shop profile: views
- Barber → Shop settings: updates
