26 lines
516 B
Markdown
26 lines
516 B
Markdown
|
|
# meezi_pos
|
||
|
|
|
||
|
|
Tablet POS app for Meezi (parallel to `meezi_app` customer app).
|
||
|
|
|
||
|
|
## Phase 1 (current)
|
||
|
|
|
||
|
|
- Flutter 3 + Riverpod + GoRouter
|
||
|
|
- Login shell → POS shell
|
||
|
|
- `X-Meezi-Terminal-Id` header (wire in Dio client)
|
||
|
|
|
||
|
|
## Phase 2
|
||
|
|
|
||
|
|
- Drift SQLite: menu cache, cart, sync queue
|
||
|
|
- Full POS flow + `bluetooth_print` / `esc_pos_utils_plus`
|
||
|
|
- Same OTP API as dashboard
|
||
|
|
|
||
|
|
## Run
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cd mobile/meezi_pos
|
||
|
|
flutter pub get
|
||
|
|
flutter run
|
||
|
|
```
|
||
|
|
|
||
|
|
Set API base URL via `--dart-define=API_URL=http://10.0.2.2:5080` (Android emulator).
|