Skip to content

πŸ“± 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.

License

Notifications You must be signed in to change notification settings

localstore-platform/mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LocalStore Mobile App

πŸ“± 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.

πŸ“– Specifications

This repository implements features defined in the LocalStore Platform Specs.

See docs/SPEC_LINKS.md for detailed specification references.

πŸ›  Tech Stack

  • 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

πŸš€ Quick Start

Prerequisites

  • Flutter 3.x (Installation Guide)
  • Dart 3.x
  • Xcode (for iOS development)
  • Android Studio (for Android development)
  • CocoaPods (for iOS)

Setup

  1. Clone the repository:

    git clone https://github.com/localstore-platform/mobile.git
    cd mobile
  2. Copy environment configuration:

    cp .env.example .env
    # Edit .env with your configuration
  3. Install dependencies:

    flutter pub get
  4. Run code generation (if applicable):

    flutter pub run build_runner build --delete-conflicting-outputs
  5. Run the app:

    # Run on connected device/emulator
    flutter run
    
    # Run on specific platform
    flutter run -d ios
    flutter run -d android

Development Commands

# 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 --release

πŸ“ Project Structure

lib/
β”œβ”€β”€ 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

🌐 Localization

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/

πŸ”— Related Repositories

πŸ“„ License

This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.

About

πŸ“± 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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •