How yuujikon/admin-app works
GDC Sari-Sari Store is a Flutter admin and point-of-sale application. Staff authenticate through Firebase and use the management screens for checkout, inventory, orders, reporting, and store operations; Firestore provides real-time data, while order and refund events can produce customer or admin push notifications. The README establishes the main app capabilities and Firebase roles, and the sampled function source shows its event triggers and messaging behavior; Flutter implementation details were not sampled, so those links are documented only where supported.
Main entry points: admin_app.dart Admin App · providers State Providers · staff_login_screen.dart PIN And Login · pos_screen.dart POS Checkout
Components 17
Admin App
- Admin App
lib/screens/admin_app.dart - PIN And Login
lib/screens/staff_login_screen.dart - State Providers
lib/providers
Store Operations
- POS Checkout
lib/screens/pos_screen.dart - Inventory Management
lib/screens/inventory_screen.dart - Order Management
lib/screens/orders_screen.dart - Sales Dashboard
lib/screens/dashboard_screen.dart - Store Status
lib/utils/store_hours.dart - Store Data Models
lib/models
Firebase Backend
- Authentication Service
lib/services/auth_service.dart - Firestore Service
lib/services/firestore_service.dart - Cloud Firestore
- Firebase Authentication
Notifications
- Order And Refund Triggers
functions/index.js - Firebase Messaging
Other components
- Store Staff
- Customers
Connections 20
- Store Staff → PIN And Login: signs in
README.md - PIN And Login → Authentication Service: authenticates through
- Authentication Service → Firebase Authentication: uses
README.md - Store Staff → Admin App: manages store
README.md - Admin App → POS Checkout: offers checkout
README.md - Admin App → Inventory Management: offers management
README.md - Admin App → Order Management: tracks orders
README.md - Admin App → Sales Dashboard: shows insights
README.md - Admin App → Store Status: sets store status
README.md - POS Checkout → State Providers: uses state
- Inventory Management → State Providers: uses state
- Order Management → State Providers: uses state
- State Providers → Firestore Service: accesses data
- Firestore Service → Cloud Firestore: reads and writes
README.md - Cloud Firestore → Store Data Models: stores records
- Cloud Firestore → Order And Refund Triggers: triggers on changes
functions/index.js - Order And Refund Triggers → Firebase Messaging: sends notifications
functions/index.js - Firebase Messaging → Customers: notifies order status
- Firebase Messaging → Store Staff: notifies refund requests
- Store Status → Customers: closure notices
README.md