31 lines
796 B
Markdown
31 lines
796 B
Markdown
|
|
# Meezi mobile app
|
||
|
|
|
||
|
|
Flutter 3 app — customer (discover, QR menu, cart, reservations) + staff HR.
|
||
|
|
|
||
|
|
## Setup
|
||
|
|
|
||
|
|
1. Install [Flutter 3.x](https://docs.flutter.dev/get-started/install) and add it to `PATH`.
|
||
|
|
2. From this folder:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
flutter create . --project-name meezi_app
|
||
|
|
flutter pub get
|
||
|
|
flutter run -d chrome
|
||
|
|
```
|
||
|
|
|
||
|
|
3. Set API base URL in `lib/core/api/api_config.dart` (Docker default: `http://localhost:5080`).
|
||
|
|
|
||
|
|
## Routes
|
||
|
|
|
||
|
|
| Path | Screen |
|
||
|
|
|------|--------|
|
||
|
|
| `/discover` | Café list |
|
||
|
|
| `/qr` | Enter table QR (`demo_table_01`) |
|
||
|
|
| `/cafe/:slug/menu` | Menu + add to cart |
|
||
|
|
| `/cafe/:slug/cart` | Checkout |
|
||
|
|
| `/cafe/:slug/reserve` | Table reservation |
|
||
|
|
| `/order/:id/track` | Order status |
|
||
|
|
| `/hr/attendance` | Staff clock-in |
|
||
|
|
|
||
|
|
Demo: open `/qr` → `demo_table_01` → order → track.
|