How harshbodani/autocare works
AutoCare is a Flutter vehicle-service management app for workshop staff and customers. Users sign in, then manage customer and vehicle records, bookings, invoices, reminders, and vehicle service history; dashboard totals summarize workshop activity. The app supports Firebase/Firestore or a PostgreSQL API, with local offline copies and queued changes in REST mode. Backend routing and security are shown in sampled source; screen-to-screen wiring and most Flutter service internals were not sampled, so those links are limited to README-documented behavior.
Main entry points: main.dart App entry · server.js Express API · auth.dart Sign in · vehicles.dart Vehicles
Components 22
Workshop operations
- Dashboard
lib/screens/dashboard.dart - Customers
lib/screens/customers.dart - Vehicles
lib/screens/vehicles.dart - Bookings
lib/screens/bookings.dart - Service history
lib/screens/history.dart - Invoices
lib/screens/invoices.dart - Reminders
lib/screens/reminders.dart - Staff accounts
lib/screens/staff.dart - Profile settings
lib/screens/profile.dart
Identity and session
- Session state
lib/services/session.dart - Authentication
lib/services/auth.dart - Password and tokens
backend/security.js
Data platforms
- API client
lib/services/api.dart - Firebase backend
lib/services/firebase_backend.dart - Notifications
lib/services/notifications.dart - Express API
backend/server.js - PostgreSQL access
backend/db.js - PostgreSQL
backend/schema.sql - Cloud Firestore
Other components
- Staff or customer
Connections 23
- Staff or customer → App entry: uses
README.md - Staff or customer → Sign in: signs in
README.md - Staff or customer → Customers: manages
README.md - Staff or customer → Vehicles: manages
README.md - Staff or customer → Bookings: books services
README.md - Staff or customer → Invoices: views invoices
README.md - Staff or customer → Reminders: views reminders
README.md - Staff or customer → Staff accounts: administers roles
README.md - Staff or customer → Profile settings: changes settings
README.md - App entry → Sign in: offers sign-in
- Sign in → Authentication: authenticates
- App entry → Dashboard: shows overview
- App entry → API client: uses REST mode
README.md - App entry → Firebase backend: uses Firebase mode
README.md - API client → Express API: sends requests
README.md - Firebase backend → Cloud Firestore: reads and writes
README.md - Express API → Password and tokens: verifies tokens
backend/server.js - Express API → PostgreSQL access: queries
backend/server.js - PostgreSQL access → PostgreSQL: accesses
- Express API → Dashboard: provides totals
README.md - Vehicles → Service history: views history
README.md - Authentication → Session state: maintains session
- App entry → Notifications: supports reminders