Welcome to the Sellio Mobile Monorepo! This repository contains the code for the Customer, Seller, and Admin applications, all managed within a single workspace.
The project is organized as a Melos-managed monorepo:
sellio_mobile/
├── apps/
│ ├── customer/ # The main customer-facing application
│ ├── seller/ # The seller application (In Development)
│ └── admin/ # The admin dashboard application (In Development)
├── packages/
│ └── design_system/ # Shared UI components, themes, and assets
└── melos.yaml # Workspace configuration
- Flutter SDK (latest stable)
- Melos (
dart pub global activate melos)
-
Bootstrap the workspace: Link all packages together.
melos bootstrap
-
Generate Codes (if needed):
flutter pub run build_runner build --delete-conflicting-outputs
(Run this inside specific app directories if they use code generation)
cd apps/customer
flutter runcd apps/seller
flutter runcd apps/admin
flutter runThe packages/design_system package contains all shared UI elements.
- Importing:
import 'package:design_system/design_system.dart'; - Assets: Assets are located in
packages/design_system/assets. They are exported via theAppImagesclass. - Modifying: If you add new assets or components, ensure you export them in
lib/design_system.dartand updatepubspec.yamlif dependencies change.
- New Dependencies: If adding a dependency that is used across multiple apps, consider adding it to the relevant package or individual app
pubspec.yaml. - State Management: We use
flutter_bloc. - Navigation: We use
go_router.
For more details, please refer to the internal documentation.