How simplyaditya/gembiz works
Project type and purpose
• This is a cross-platform Flutter application (“gem2”) targeting mobile (Android, iOS), desktop (Linux, macOS, Windows) and web.
• The app uses Firebase (Authentication, Firestore) plus a location/map service (OpenStreetMap), and presents business/store catalog, item management, ordering and user authentication flows.
File structure
• Top-level “android”, “ios”, “linux”, “macos”, “windows”, “web” directories are Flutter platform embeddings and build configurations.
• The “lib” directory contains the Dart code split into:
• auth (screens & logic for phone, OTP, update)
• models (data classes, e.g. ItemModel)
• providers (state management: AuthProvider, LocationProvider, StoreDataProvider, etc.)
• screens (UI pages: login, registration, catalogue, item details, order, etc.)
• utils (services like Firestore access, URL validation, OSM integration)
• widgets (reusable UI components: AppBar, SnackBar, BottomNavBar)
• Config files: firebase.json, android/google-services.json, ios/GoogleService-Info.plist, lib/firebase_options.dart
• pubspec.yaml / lock define dependencies (Flutter, Firebase packages, state management).
README
• Minimal; indicates a standard Flutter starter project.
Detail without over-splitting
• Layer and its core components.
• Avoid unnecessary micro-services—group related utils or providers.