How ibrahim-asad/gp-front-end works
DropPal is a cross-platform Flutter commerce app for guests, customers, and merchants. The user enters through app navigation, browses products and stores, and can continue into cart and checkout; customers also manage orders, profiles, and support, while merchants operate their stores and fulfill orders. Real-time messaging, authentication, secure storage, localization, and analytics support those role-specific experiences. Relationships below follow capabilities and structure documented in the README; Dart implementation files were not sampled, so detailed call ownership is not verified.
Main entry points: customer_home_view.dart Customer shopping · merchant_dashboard_view.dart Merchant dashboard · routes.dart Role navigation · main.dart App entry
Components 19
App and access
- App entry
lib/main.dart - Role navigation
lib/routes.dart - Authentication
lib/controllers/auth_controlles.dart
Shopping experience
- Guest shopping
lib/guest/views/guest_home_view.dart - Customer shopping
lib/customer/Views/customer_home_view.dart - Catalog and search
lib/customer/Controllers/product_controller.dart - Cart and checkout
lib/customer/Views/checkout_view.dart - Wishlist
lib/customer/Views/wishlist_view.dart
Orders and support
- Order management
lib/customer/Views/orders_view.dart - Customer support
lib/customer/Views/support_tickets_view.dart
Merchant operations
- Merchant dashboard
lib/merchant/views/merchant_dashboard_view.dart - Product management
lib/merchant/views/product_management_view.dart - Fulfillment and shipping
lib/merchant/views/fulfillment_center_view.dart - Merchant analytics
lib/services/analytics_service.dart
Shared services
- Real-time chat
lib/services/global_chat_service.dart - Secure credentials
lib/services/secure_storage_service.dart - English and Arabic
lib/localiztion/app_translations.dart
Other components
- User
- Commerce backend
Connections 23
- User → App entry: opens
README.md - App entry → Role navigation: routes
README.md - Role navigation → Authentication: authenticates
README.md - Role navigation → Guest shopping: offers guest mode
README.md - Role navigation → Customer shopping: offers customer mode
README.md - Role navigation → Merchant dashboard: offers merchant mode
README.md - Guest shopping → Catalog and search: browses
README.md - Customer shopping → Catalog and search: browses
README.md - Customer shopping → Cart and checkout: shops through
README.md - Guest shopping → Cart and checkout: shops through
README.md - Customer shopping → Wishlist: manages
README.md - Customer shopping → Order management: tracks orders
README.md - Cart and checkout → Commerce backend: submits checkout
- Order management → Commerce backend: manages orders
README.md - Customer shopping → Customer support: requests help
README.md - Customer shopping → Real-time chat: messages merchant
README.md - Merchant dashboard → Real-time chat: messages customers
README.md - Merchant dashboard → Product management: manages products
README.md - Merchant dashboard → Order management: manages orders
README.md - Merchant dashboard → Fulfillment and shipping: fulfills orders
README.md - Merchant dashboard → Merchant analytics: views analytics
README.md - Authentication → Secure credentials: stores credentials
README.md - App entry → English and Arabic: localizes interface
README.md