# mikee0102/proyecto-taxgo-movil architecture

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

- Interactive diagram: https://gitdiagram.com/mikee0102/proyecto-taxgo-movil
- Repository: https://github.com/mikee0102/proyecto-taxgo-movil

## Overview

Tlaxgomobil is a Flutter app whose tree indicates authentication, route and itinerary browsing, maps, profiles, and favorites. The README provides no product-specific workflow, and the Dart sources were not excerpted, so the screen-to-service links below are marked unverified rather than presented as inspected calls. Native entry points and plugin registration are represented where the excerpts show them; platform runners host the Flutter app rather than implement its domain behavior.

Main entry points: [`lib/screens/auth/auth_wrapper.dart`](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/auth_wrapper.dart) (Auth routing), [`lib/screens/home/home_screen.dart`](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/home/home_screen.dart) (Home), [`lib/main.dart`](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/main.dart) (App entry), [`lib/screens/rutas_screen.dart`](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/rutas_screen.dart) (Route browsing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Flutter product"]
  node_app["App entry<br/>[main.dart]"]
  node_authflow["Auth routing<br/>[auth_wrapper.dart]"]
  node_login["Login<br/>[login_screen.dart]"]
  node_register["Registration"]
  node_home["Home<br/>[home_screen.dart]"]
  node_itinerary["Itinerary<br/>[intinerario.dart]"]
  node_routes["Route browsing<br/>[rutas_screen.dart]"]
  node_map["Map<br/>[map_screen.dart]"]
  node_profile["Profile"]
  node_filters["Route filters<br/>[filters.dart]"]
end

subgraph group_services["App services"]
  node_authservice["Authentication service<br/>[auth_service.dart]"]
  node_favorites["Favorites service"]
  node_user_model["User model<br/>[user_model.dart]"]
  node_filter_model["Filter model<br/>[filter_option.dart]"]
  node_authguard["Auth guard<br/>[auth_guard.dart]"]
end

subgraph group_platforms["Platform hosts"]
  node_androidhost["Android host<br/>[MainActivity.kt]"]
  node_ioshost["iOS host<br/>[AppDelegate.swift]"]
  node_linuxhost["Linux host<br/>[my_application.cc]"]
  node_linuxentry["Linux entry<br/>[main.cc]"]
  node_winentry["Windows entry<br/>[main.cpp]"]
  node_flutterwindow["Flutter window<br/>[flutter_window.cpp]"]
  node_win32window["Win32 window<br/>[win32_window.cpp]"]
  node_winplugins["Windows plugins"]
  node_macplugins["macOS plugins"]
  node_linuxplugins["Linux plugins"]
end

node_user(("App user"))
node_firestore[("Cloud Firestore<br/>[firestore.rules]")]
node_firebaseauth[("Firebase Auth")]

node_user -.->|"launches"| node_app
node_app -.->|"routes"| node_authflow
node_authflow -.->|"shows"| node_login
node_authflow -.->|"shows"| node_register
node_authflow -.->|"checks access"| node_authguard
node_login -.->|"uses"| node_authservice
node_register -.->|"uses"| node_authservice
node_authservice -.->|"authenticates"| node_firebaseauth
node_authflow -.->|"shows"| node_home
node_home -.->|"opens"| node_itinerary
node_home -.->|"opens"| node_routes
node_routes -.->|"filters with"| node_filters
node_filters -.->|"uses"| node_filter_model
node_routes -.->|"opens"| node_map
node_home -.->|"opens"| node_profile
node_profile -.->|"uses"| node_favorites
node_favorites -.->|"stores in"| node_firestore
node_profile -.->|"uses"| node_user_model
node_linuxentry -->|"creates"| node_linuxhost
node_winentry -->|"creates"| node_flutterwindow
node_flutterwindow -->|"extends"| node_win32window
node_ioshost -.->|"hosts"| node_app
node_androidhost -.->|"hosts"| node_app
node_linuxhost -->|"registers plugins"| node_linuxplugins
node_flutterwindow -.->|"registers plugins"| node_winplugins
node_ioshost -->|"registers plugins"| node_macplugins

click node_app "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/main.dart"
click node_authflow "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/auth_wrapper.dart"
click node_login "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/login_screen.dart"
click node_register "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/register_screen.dart"
click node_home "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/home/home_screen.dart"
click node_itinerary "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/home/intinerario.dart"
click node_routes "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/rutas_screen.dart"
click node_map "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/map/map_screen.dart"
click node_profile "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/profile/profile_screen.dart"
click node_filters "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/widgets/filters.dart"
click node_authservice "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/services/auth_service.dart"
click node_favorites "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/services/favorite_service.dart"
click node_user_model "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/models/user_model.dart"
click node_filter_model "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/models/filter_option.dart"
click node_authguard "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/utils/auth_guard.dart"
click node_firestore "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/firestore.rules"
click node_androidhost "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/android/app/src/main/kotlin/com/example/tlaxgomobil/MainActivity.kt"
click node_ioshost "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/ios/Runner/AppDelegate.swift"
click node_linuxhost "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/linux/runner/my_application.cc"
click node_linuxentry "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/linux/runner/main.cc"
click node_winentry "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/runner/main.cpp"
click node_flutterwindow "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/runner/flutter_window.cpp"
click node_win32window "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/runner/win32_window.cpp"
click node_winplugins "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/flutter/generated_plugin_registrant.cc"
click node_macplugins "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift"
click node_linuxplugins "https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/linux/flutter/generated_plugin_registrant.cc"

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,node_authflow,node_login,node_register,node_home,node_itinerary,node_routes,node_map,node_profile,node_filters,node_user toneBlue
class node_authservice,node_favorites,node_user_model,node_filter_model,node_authguard,node_firestore,node_firebaseauth toneAmber
class node_androidhost,node_ioshost,node_linuxhost,node_linuxentry,node_winentry,node_flutterwindow,node_win32window,node_winplugins,node_macplugins,node_linuxplugins toneMint
```

## Components

### Flutter product

- [App entry](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/main.dart): `lib/main.dart`
- [Auth routing](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/auth_wrapper.dart): `lib/screens/auth/auth_wrapper.dart`
- [Login](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/login_screen.dart): `lib/screens/auth/login_screen.dart`
- [Registration](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/auth/register_screen.dart): `lib/screens/auth/register_screen.dart`
- [Home](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/home/home_screen.dart): `lib/screens/home/home_screen.dart`
- [Itinerary](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/home/intinerario.dart): `lib/screens/home/intinerario.dart`
- [Route browsing](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/rutas_screen.dart): `lib/screens/rutas_screen.dart`
- [Map](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/map/map_screen.dart): `lib/screens/map/map_screen.dart`
- [Profile](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/screens/profile/profile_screen.dart): `lib/screens/profile/profile_screen.dart`
- [Route filters](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/widgets/filters.dart): `lib/widgets/filters.dart`

### App services

- [Authentication service](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/services/auth_service.dart): `lib/services/auth_service.dart`
- [Favorites service](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/services/favorite_service.dart): `lib/services/favorite_service.dart`
- [User model](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/models/user_model.dart): `lib/models/user_model.dart`
- [Filter model](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/models/filter_option.dart): `lib/models/filter_option.dart`
- [Auth guard](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/lib/utils/auth_guard.dart): `lib/utils/auth_guard.dart`

### Platform hosts

- [Android host](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/android/app/src/main/kotlin/com/example/tlaxgomobil/MainActivity.kt): `android/app/src/main/kotlin/com/example/tlaxgomobil/MainActivity.kt`
- [iOS host](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [Linux host](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Linux entry](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Windows entry](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/runner/main.cpp): `windows/runner/main.cpp`
- [Flutter window](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Win32 window](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/runner/win32_window.cpp): `windows/runner/win32_window.cpp`
- [Windows plugins](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/windows/flutter/generated_plugin_registrant.cc): `windows/flutter/generated_plugin_registrant.cc`
- [macOS plugins](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`
- [Linux plugins](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/linux/flutter/generated_plugin_registrant.cc): `linux/flutter/generated_plugin_registrant.cc`

### Other components

- **App user**
- [Cloud Firestore](https://github.com/mikee0102/proyecto-taxgo-movil/blob/main/firestore.rules): `firestore.rules`
- **Firebase Auth**

## Connections

- App user → App entry: launches
- App entry → Auth routing: routes
- Auth routing → Login: shows
- Auth routing → Registration: shows
- Auth routing → Auth guard: checks access
- Login → Authentication service: uses
- Registration → Authentication service: uses
- Authentication service → Firebase Auth: authenticates
- Auth routing → Home: shows
- Home → Itinerary: opens
- Home → Route browsing: opens
- Route browsing → Route filters: filters with
- Route filters → Filter model: uses
- Route browsing → Map: opens
- Home → Profile: opens
- Profile → Favorites service: uses
- Favorites service → Cloud Firestore: stores in
- Profile → User model: uses
- Linux entry → Linux host: creates (evidence: `linux/runner/main.cc`)
- Windows entry → Flutter window: creates (evidence: `windows/runner/main.cpp`)
- Flutter window → Win32 window: extends
- iOS host → App entry: hosts
- Android host → App entry: hosts
- Linux host → Linux plugins: registers plugins (evidence: `linux/runner/my_application.cc`)
- Flutter window → Windows plugins: registers plugins
- iOS host → macOS plugins: registers plugins (evidence: `ios/Runner/AppDelegate.swift`)
