# syntech-aliza/akean-go-alert-app architecture

> Architecture diagram of the GitHub repository syntech-aliza/akean-go-alert-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/syntech-aliza/akean-go-alert-app
- Repository: https://github.com/syntech-aliza/akean-go-alert-app

## Overview

Akean Go-Alert is a Flutter passenger-report and tricycle-services app for Kalibo, Aklan. The documented account workflow is signup, pending-account creation, email OTP verification, then activation; the login screen also offers a database health check. The Flutter implementation is represented by its entry file, while the PHP API, database, and mail service are documented but absent from this repository tree. The source excerpts cover platform scaffolding rather than Dart runtime behavior, so app-to-API relationships below rely on README statements.

Main entry points: [`lib/main.dart`](https://github.com/syntech-aliza/akean-go-alert-app/blob/main/lib/main.dart) (Flutter app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mobile["Mobile app"]
  node_flutter_app["Flutter app<br/>[main.dart]"]
end

subgraph group_backend["Account API"]
  node_php_api["PHP API"]
  node_account_flow["Signup and verification"]
  node_health_check["Database health check"]
end

subgraph group_infra["Backend services"]
  node_mysql[("MySQL database")]
  node_smtp["SMTP email"]
end

node_passenger(("Passenger"))

node_passenger -->|"uses"| node_flutter_app
node_flutter_app -->|"requests status"| node_health_check
node_health_check -->|"calls endpoint"| node_php_api
node_flutter_app -->|"submits signup"| node_account_flow
node_account_flow -->|"uses API"| node_php_api
node_account_flow -->|"stores pending account"| node_mysql
node_account_flow -->|"sends OTP"| node_smtp
node_account_flow -->|"activates after verification"| node_mysql

click node_flutter_app "https://github.com/syntech-aliza/akean-go-alert-app/blob/main/lib/main.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_flutter_app toneBlue
class node_php_api,node_account_flow,node_health_check toneAmber
class node_mysql,node_smtp toneMint
class node_passenger toneIndigo
```

## Components

### Mobile app

- [Flutter app](https://github.com/syntech-aliza/akean-go-alert-app/blob/main/lib/main.dart): `lib/main.dart`

### Account API

- **PHP API**
- **Signup and verification**
- **Database health check**

### Backend services

- **MySQL database**
- **SMTP email**

### Other components

- **Passenger**

## Connections

- Passenger → Flutter app: uses (evidence: `README.md`)
- Flutter app → Database health check: requests status (evidence: `README.md`)
- Database health check → PHP API: calls endpoint (evidence: `README.md`)
- Flutter app → Signup and verification: submits signup (evidence: `README.md`)
- Signup and verification → PHP API: uses API (evidence: `README.md`)
- Signup and verification → MySQL database: stores pending account (evidence: `README.md`)
- Signup and verification → SMTP email: sends OTP (evidence: `README.md`)
- Signup and verification → MySQL database: activates after verification (evidence: `README.md`)
