How gokul-mechaktroniker/washing-machine-app---whz works
WashMate.io is a Flutter laundry-monitoring app backed by Firebase. Residents authenticate, view machine availability and cycle phases, claim a machine, and receive a completion alert; machine state resets after five minutes. The README documents the major product capabilities, while sampled implementation is limited to the Cloud Functions and platform launchers, so app-to-backend relationships below rely on README statements rather than inspected Dart call sites.
Main entry points: bottom_navigation_menu.dart App navigation · index.js Laundry automation · main.dart App entry · washing_machine_repository.dart Machine repository
Components 20
Flutter app
- App entry
lib/main.dart - Onboarding
lib/features/authentication/screens/onboarding/onboarding_screen.dart - App navigation
lib/bottom_navigation_menu.dart - User profile
lib/features/Laundry/screens/profile/profile_screen.dart - Laundry FAQ
lib/features/Laundry/screens/faq/faq_screen.dart
Identity
- Login and signup
lib/features/authentication/screens/login/login_screen.dart - Auth flows
lib/features/authentication/controllers/signup/signup_controller.dart - Authentication repository
lib/data/repositories/authentication/authentication_repository.dart
Laundry operations
- Machine dashboard
lib/features/Laundry/screens/home/home_screen.dart - Machine state controller
lib/features/Laundry/controllers/card_controller/card_controller.dart - Machine repository
lib/data/repositories/washing_machine/washing_machine_repository.dart - Machine model
lib/data/repositories/washing_machine/washing_machine_model.dart - Notification history
lib/features/Laundry/screens/notification/notification_screen.dart - Notification controller
lib/features/Laundry/controllers/notification_controller/notification_controller.dart
Firebase backend
- Firebase Authentication
- Cloud Firestore
- Laundry automation
functions/index.js - Firebase Cloud Messaging
- User data
lib/data/repositories/user/user_repository.dart
Other components
- Resident
Connections 21
- Resident → App entry: opens
README.md - App entry → Onboarding: greets new users
README.md - App entry → App navigation: routes through
- Resident → Login and signup: signs in
README.md - Login and signup → Auth flows: starts auth flow
- Auth flows → Authentication repository: delegates auth
- Authentication repository → Firebase Authentication: authenticates
README.md - App navigation → Machine dashboard: opens dashboard
README.md - Machine dashboard → Machine state controller: shows live state
- Machine state controller → Machine repository: requests machine data
- Machine repository → Cloud Firestore: listens and writes
README.md - Machine repository → Machine model: uses model
- Laundry automation → Cloud Firestore: reads and updates
functions/index.js - Laundry automation → Firebase Cloud Messaging: sends completion alert
functions/index.js - Laundry automation → Cloud Firestore: persists alert and resets
functions/index.js - App navigation → Notification history: opens history
README.md - Notification history → Notification controller: shows stored alerts
- Notification controller → Cloud Firestore: loads history
README.md - Laundry automation → User data: targets machine owner
functions/index.js - App navigation → User profile: opens profile
- App navigation → Laundry FAQ: opens FAQ