π± Owner mobile app for LocalStore Platform - Flutter app for iOS & Android. Daily monitoring, menu management, and AI-powered business insights for Vietnamese restaurant owners. Offline-first with FCM push notifications.
This repository implements features defined in the LocalStore Platform Specs.
See docs/SPEC_LINKS.md for detailed specification references.
- Framework: Flutter 3.x + Dart 3.x
- State Management: Riverpod 2.4
- Networking: Dio + Retrofit
- Local Storage: Hive
- Push Notifications: Firebase Cloud Messaging
- Navigation: go_router
- Flutter 3.x (Installation Guide)
- Dart 3.x
- Xcode (for iOS development)
- Android Studio (for Android development)
- CocoaPods (for iOS)
-
Clone the repository:
git clone https://github.com/localstore-platform/mobile.git cd mobile -
Copy environment configuration:
cp .env.example .env # Edit .env with your configuration -
Install dependencies:
flutter pub get
-
Run code generation (if applicable):
flutter pub run build_runner build --delete-conflicting-outputs
-
Run the app:
# Run on connected device/emulator flutter run # Run on specific platform flutter run -d ios flutter run -d android
# Run tests
flutter test
# Run tests with coverage
flutter test --coverage
# Analyze code
flutter analyze
# Format code
dart format .
# Build release APK
flutter build apk --release
# Build release iOS
flutter build ios --releaselib/
βββ core/ # Core utilities, constants, theme
β βββ constants/
β βββ router/
β βββ theme/
β βββ utils/
βββ features/ # Feature modules (Clean Architecture)
β βββ auth/
β βββ dashboard/
β βββ menu/
β βββ settings/
βββ l10n/ # Localization files
βββ shared/ # Shared widgets and providers
β βββ providers/
β βββ widgets/
βββ main.dart
The app supports Vietnamese (vi-VN) as the primary locale with English (en-US) fallback.
- Currency:
75.000β«(dot separator) - Date format:
dd/MM/yyyy - All strings in
lib/l10n/
- Specs Repository - Technical specifications
- API Repository - Backend API
- Contracts Repository - Shared types
This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.