# maulfx/124240083_124240112_proyekakhirmobilesi-e architecture

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

- Interactive diagram: https://gitdiagram.com/maulfx/124240083_124240112_proyekakhirmobilesi-e
- Repository: https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e

## Overview

ParkSmart ID is a Flutter app for live parking discovery and availability, with parking notes, reminders, maps and user preferences. The principal workflow is a user exploring parking locations, checking slot availability and recording a parked vehicle or slot for later. The README documents the major integrations and capabilities; source excerpts were not provided for the Dart runtime, so relationships below rely on those documented descriptions and omit unverified internal call paths.

Main entry points: [`lib/features/map/explore_map_screen.dart`](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/map/explore_map_screen.dart) (Explore map), [`lib/features/profile/profile_screen.dart`](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/profile/profile_screen.dart) (Profile & settings), [`lib/features/home/home_screen.dart`](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/home/home_screen.dart) (Parking home), [`lib/features/home/backend/home_backend.dart`](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/home/backend/home_backend.dart) (Home data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Parking discovery"]
  node_home["Parking home<br/>[home_screen.dart]"]
  node_home_backend["Home data<br/>[home_backend.dart]"]
  node_map["Explore map"]
  node_map_backend["Map data"]
  node_parking_detail["Parking details"]
  node_parking_backend["Parking detail data"]
  node_slot_selection["Slot selection"]
  node_slot_backend["Slot data"]
end

subgraph group_personal["Parking &amp; account"]
  node_notes["Parking notes"]
  node_note_editor["Note editor"]
  node_note_backend["Notes data"]
  node_profile["Profile &amp; settings"]
  node_auth["Authentication<br/>[login_screen.dart]"]
end

subgraph group_platform["App services"]
  node_notifications["Notifications"]
  node_currency["Currency service"]
  node_theme["Theme &amp; language<br/>[theme_service.dart]"]
end

subgraph group_data["Cloud &amp; local data"]
  node_supabase[("Supabase")]
  node_hive[("Hive notes store")]
  node_schema["Database schema<br/>[schema.sql]"]
end

node_user(("Driver"))
node_weather["Weather API"]
node_osm["OpenStreetMap"]

node_user -->|"opens"| node_home
node_user -->|"explores"| node_map
node_home -->|"loads parking"| node_home_backend
node_map -->|"loads locations"| node_map_backend
node_map -->|"renders map"| node_osm
node_map -->|"shows weather"| node_weather
node_user -->|"opens location"| node_parking_detail
node_parking_detail -->|"loads slots"| node_parking_backend
node_user -->|"checks availability"| node_slot_selection
node_slot_selection -->|"loads slot status"| node_slot_backend
node_home_backend -->|"reads parking data"| node_supabase
node_map_backend -->|"reads locations"| node_supabase
node_parking_backend -->|"reads parking data"| node_supabase
node_slot_backend -->|"reads slot status"| node_supabase
node_user -->|"manages notes"| node_notes
node_notes -->|"performs CRUD"| node_note_backend
node_user -->|"records parking"| node_note_editor
node_note_backend -->|"stores offline"| node_hive
node_note_editor -->|"confirms save"| node_notifications
node_user -->|"sets preferences"| node_profile
node_user -.->|"signs in"| node_auth
node_auth -.->|"authenticates"| node_supabase
node_supabase -->|"uses schema"| node_schema
node_profile -->|"selects currency"| node_currency
node_profile -->|"sets appearance"| node_theme

click node_home "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/home/home_screen.dart"
click node_home_backend "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/home/backend/home_backend.dart"
click node_map "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/map/explore_map_screen.dart"
click node_map_backend "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/map/backend/explore_map_backend.dart"
click node_parking_detail "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/parking_detail_screen.dart"
click node_parking_backend "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/backend/parking_detail_backend.dart"
click node_slot_selection "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/slot_selection_screen.dart"
click node_slot_backend "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/backend/slot_selection_backend.dart"
click node_notes "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking_notes/parking_notes_screen.dart"
click node_note_editor "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking_notes/add_parking_note_screen.dart"
click node_note_backend "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking_notes/backend/parking_notes_backend.dart"
click node_profile "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/profile/profile_screen.dart"
click node_auth "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/auth/login_screen.dart"
click node_notifications "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/core/services/notification_service.dart"
click node_schema "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/database/schema.sql"
click node_currency "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/core/services/currency_service.dart"
click node_theme "https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/core/services/theme_service.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_home,node_home_backend,node_map,node_map_backend,node_parking_detail,node_parking_backend,node_slot_selection,node_slot_backend toneBlue
class node_notes,node_note_editor,node_note_backend,node_profile,node_auth toneAmber
class node_notifications,node_currency,node_theme,node_weather toneMint
class node_supabase,node_hive,node_schema toneRose
class node_user,node_osm toneIndigo
```

## Components

### Parking discovery

- [Parking home](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/home/home_screen.dart): `lib/features/home/home_screen.dart`
- [Home data](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/home/backend/home_backend.dart): `lib/features/home/backend/home_backend.dart`
- [Explore map](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/map/explore_map_screen.dart): `lib/features/map/explore_map_screen.dart`
- [Map data](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/map/backend/explore_map_backend.dart): `lib/features/map/backend/explore_map_backend.dart`
- [Parking details](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/parking_detail_screen.dart): `lib/features/parking/parking_detail_screen.dart`
- [Parking detail data](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/backend/parking_detail_backend.dart): `lib/features/parking/backend/parking_detail_backend.dart`
- [Slot selection](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/slot_selection_screen.dart): `lib/features/parking/slot_selection_screen.dart`
- [Slot data](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking/backend/slot_selection_backend.dart): `lib/features/parking/backend/slot_selection_backend.dart`

### Parking & account

- [Parking notes](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking_notes/parking_notes_screen.dart): `lib/features/parking_notes/parking_notes_screen.dart`
- [Note editor](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking_notes/add_parking_note_screen.dart): `lib/features/parking_notes/add_parking_note_screen.dart`
- [Notes data](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/parking_notes/backend/parking_notes_backend.dart): `lib/features/parking_notes/backend/parking_notes_backend.dart`
- [Profile & settings](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/profile/profile_screen.dart): `lib/features/profile/profile_screen.dart`
- [Authentication](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/features/auth/login_screen.dart): `lib/features/auth/login_screen.dart`

### App services

- [Notifications](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/core/services/notification_service.dart): `lib/core/services/notification_service.dart`
- [Currency service](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/core/services/currency_service.dart): `lib/core/services/currency_service.dart`
- [Theme & language](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/core/services/theme_service.dart): `lib/core/services/theme_service.dart`

### Cloud & local data

- **Supabase**
- **Hive notes store**
- [Database schema](https://github.com/maulfx/124240083_124240112_proyekakhirmobilesi-e/blob/main/lib/database/schema.sql): `lib/database/schema.sql`

### Other components

- **Driver**
- **Weather API**
- **OpenStreetMap**

## Connections

- Driver → Parking home: opens (evidence: `README.md`)
- Driver → Explore map: explores (evidence: `README.md`)
- Parking home → Home data: loads parking (evidence: `README.md`)
- Explore map → Map data: loads locations (evidence: `README.md`)
- Explore map → OpenStreetMap: renders map (evidence: `README.md`)
- Explore map → Weather API: shows weather (evidence: `README.md`)
- Driver → Parking details: opens location (evidence: `README.md`)
- Parking details → Parking detail data: loads slots (evidence: `README.md`)
- Driver → Slot selection: checks availability (evidence: `README.md`)
- Slot selection → Slot data: loads slot status (evidence: `README.md`)
- Home data → Supabase: reads parking data (evidence: `README.md`)
- Map data → Supabase: reads locations (evidence: `README.md`)
- Parking detail data → Supabase: reads parking data (evidence: `README.md`)
- Slot data → Supabase: reads slot status (evidence: `README.md`)
- Driver → Parking notes: manages notes (evidence: `README.md`)
- Parking notes → Notes data: performs CRUD (evidence: `README.md`)
- Driver → Note editor: records parking (evidence: `README.md`)
- Notes data → Hive notes store: stores offline (evidence: `README.md`)
- Note editor → Notifications: confirms save (evidence: `README.md`)
- Driver → Profile & settings: sets preferences (evidence: `README.md`)
- Driver → Authentication: signs in
- Authentication → Supabase: authenticates
- Supabase → Database schema: uses schema (evidence: `README.md`)
- Profile & settings → Currency service: selects currency (evidence: `README.md`)
- Profile & settings → Theme & language: sets appearance (evidence: `README.md`)
