# thaibasongvinh/fixit architecture

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

- Interactive diagram: https://gitdiagram.com/thaibasongvinh/fixit
- Repository: https://github.com/thaibasongvinh/fixit

## Overview

Fixit Vietnam is a Flutter platform for mobile-device repairs and technician services. Its documented user-facing areas are authentication, home, guides, marketplace, and booking; Appwrite supplies authentication, databases, storage, realtime, and functions. The README identifies Riverpod, GoRouter, and flavor-specific Appwrite configuration as shared application infrastructure. Dart implementation files are absent from the supplied tree, so those feature relationships reflect documented capabilities rather than inspected calls. The graph also records sampled native runner and plugin-registration components without treating build configuration as product behavior.

Main entry points: [`lib`](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib) (Flutter app), [`lib/core/config/appwrite_provider.dart`](https://github.com/thaibasongvinh/fixit/blob/FIXIT/lib/core/config/appwrite_provider.dart) (Appwrite configuration), [`windows/runner/flutter_window.h`](https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/flutter_window.h) (Windows Flutter host), [`linux/runner/main.cc`](https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/runner/main.cc) (Linux app runner)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Repair services"]
  node_flutter_app["Flutter app"]
  node_auth["Authentication"]
  node_home["Home"]
  node_guides["Repair guides"]
  node_marketplace["Marketplace"]
  node_booking["Technician booking"]
end

subgraph group_shared["App foundation"]
  node_foundation["Routing and state"]
  node_appwrite_config["Appwrite configuration"]
end

subgraph group_backend["Backend services"]
  node_appwrite["Appwrite services"]
  node_admin_delete["Admin user deletion<br/>[index.js]"]
end

subgraph group_native["Platform hosting"]
  node_linux_runner["Linux app runner<br/>[main.cc]"]
  node_linux_app["Linux Flutter host<br/>[my_application.h]"]
  node_linux_plugins["Linux plugin registration"]
  node_mac_plugins["macOS plugin registration"]
  node_windows_entry["Windows app entry<br/>[main.cpp]"]
  node_windows_flutter["Windows Flutter host<br/>[flutter_window.h]"]
  node_windows_window["Windows window shell<br/>[win32_window.h]"]
  node_windows_plugins["Windows plugin registration"]
end

node_user(("Customer / technician"))

node_user -->|"uses"| node_flutter_app
node_flutter_app -->|"offers"| node_auth
node_flutter_app -->|"offers"| node_home
node_flutter_app -->|"offers"| node_guides
node_flutter_app -->|"offers"| node_marketplace
node_flutter_app -->|"offers"| node_booking
node_flutter_app -->|"uses"| node_foundation
node_flutter_app -->|"configures"| node_appwrite_config
node_appwrite_config -->|"configures"| node_appwrite
node_linux_runner -->|"creates"| node_linux_app
node_windows_entry -->|"creates"| node_windows_flutter
node_windows_flutter -->|"extends"| node_windows_window

click node_flutter_app "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib"
click node_auth "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features"
click node_home "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features"
click node_guides "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features"
click node_marketplace "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features"
click node_booking "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features"
click node_foundation "https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/core"
click node_appwrite_config "https://github.com/thaibasongvinh/fixit/blob/FIXIT/lib/core/config/appwrite_provider.dart"
click node_admin_delete "https://github.com/thaibasongvinh/fixit/blob/FIXIT/functions/admin-delete-user/index.js"
click node_linux_runner "https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/runner/main.cc"
click node_linux_app "https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/flutter/generated_plugin_registrant.h"
click node_mac_plugins "https://github.com/thaibasongvinh/fixit/blob/FIXIT/macos/Flutter/GeneratedPluginRegistrant.swift"
click node_windows_entry "https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/main.cpp"
click node_windows_flutter "https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/flutter_window.h"
click node_windows_window "https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/win32_window.h"
click node_windows_plugins "https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/flutter/generated_plugin_registrant.h"

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_flutter_app,node_auth,node_home,node_guides,node_marketplace,node_booking toneBlue
class node_foundation,node_appwrite_config toneAmber
class node_appwrite,node_admin_delete toneMint
class node_linux_runner,node_linux_app,node_linux_plugins,node_mac_plugins,node_windows_entry,node_windows_flutter,node_windows_window,node_windows_plugins toneRose
class node_user toneIndigo
```

## Components

### Repair services

- [Flutter app](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib): `lib`
- [Authentication](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features): `lib/features`
- [Home](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features): `lib/features`
- [Repair guides](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features): `lib/features`
- [Marketplace](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features): `lib/features`
- [Technician booking](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/features): `lib/features`

### App foundation

- [Routing and state](https://github.com/thaibasongvinh/fixit/tree/FIXIT/lib/core): `lib/core`
- [Appwrite configuration](https://github.com/thaibasongvinh/fixit/blob/FIXIT/lib/core/config/appwrite_provider.dart): `lib/core/config/appwrite_provider.dart`

### Backend services

- **Appwrite services**
- [Admin user deletion](https://github.com/thaibasongvinh/fixit/blob/FIXIT/functions/admin-delete-user/index.js): `functions/admin-delete-user/index.js`

### Platform hosting

- [Linux app runner](https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux Flutter host](https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Linux plugin registration](https://github.com/thaibasongvinh/fixit/blob/FIXIT/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`
- [macOS plugin registration](https://github.com/thaibasongvinh/fixit/blob/FIXIT/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`
- [Windows app entry](https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Windows Flutter host](https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Windows window shell](https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/runner/win32_window.h): `windows/runner/win32_window.h`
- [Windows plugin registration](https://github.com/thaibasongvinh/fixit/blob/FIXIT/windows/flutter/generated_plugin_registrant.h): `windows/flutter/generated_plugin_registrant.h`

### Other components

- **Customer / technician**

## Connections

- Customer / technician → Flutter app: uses (evidence: `README.md`)
- Flutter app → Authentication: offers (evidence: `README.md`)
- Flutter app → Home: offers (evidence: `README.md`)
- Flutter app → Repair guides: offers (evidence: `README.md`)
- Flutter app → Marketplace: offers (evidence: `README.md`)
- Flutter app → Technician booking: offers (evidence: `README.md`)
- Flutter app → Routing and state: uses (evidence: `README.md`)
- Flutter app → Appwrite configuration: configures (evidence: `README.md`)
- Appwrite configuration → Appwrite services: configures (evidence: `README.md`)
- Linux app runner → Linux Flutter host: creates (evidence: `linux/runner/main.cc`)
- Windows app entry → Windows Flutter host: creates (evidence: `windows/runner/main.cpp`)
- Windows Flutter host → Windows window shell: extends (evidence: `windows/runner/flutter_window.h`)
