How alwayswannaflywxy/hotel-aircon-cleaning-system works
AirCare is a Laravel hotel air-conditioning cleaning tracker. A logged-in staff member selects a floor, reviews room status, records a cleaning with their name, and can open a floor or all-floor printable report. The map separates authentication, room operations, presentation, and request infrastructure. Relationships are limited to controller calls and documented routes/views; database persistence is represented cautiously because the excerpts do not show schema or connection behavior.
Main entry points: RoomController.php Room workflows · web.php Web routes · AuthController.php Login and logout · Room.php Room status
Components 14
Authentication
- Login and logout
app/Http/Controllers/AuthController.php - User account
app/Models/User.php
Room operations
- Room workflows
app/Http/Controllers/RoomController.php - Room status
app/Models/Room.php - Cleaning history
app/Models/CleaningRecord.php
User interface
- Login screen
resources/views/auth/login.blade.php - Floor dashboard
resources/views/rooms/index.blade.php - Cleaning form
resources/views/rooms/clean.blade.php - Printable report
resources/views/rooms/report.blade.php
Request runtime
- Web routes
routes/web.php - Route registration
app/Providers/RouteServiceProvider.php - HTTP middleware
app/Http/Kernel.php
Other components
- Hotel staff
- Application database
Connections 18
- Hotel staff → Web routes: uses
README.md - Route registration → Web routes: loads routes
app/Providers/RouteServiceProvider.php - Web routes → Login and logout: dispatches
routes/web.php - Web routes → Room workflows: dispatches
routes/web.php - HTTP middleware → Web routes: applies web middleware
app/Http/Kernel.php - Login and logout → User account: authenticates
- Login and logout → Floor dashboard: redirects after login
app/Http/Controllers/AuthController.php - Hotel staff → Login screen: signs in
README.md - Hotel staff → Room workflows: requests rooms or reports
README.md - Room workflows → Room status: queries and updates
app/Http/Controllers/RoomController.php - Room workflows → Cleaning history: creates history
app/Http/Controllers/RoomController.php - Room status → Cleaning history: defines records relation
app/Models/Room.php - Room workflows → Floor dashboard: renders dashboard
app/Http/Controllers/RoomController.php - Room workflows → Cleaning form: renders cleaning form
app/Http/Controllers/RoomController.php - Room workflows → Printable report: renders report
app/Http/Controllers/RoomController.php - Room status → Application database: persists room state
- Cleaning history → Application database: stores audit history
- Hotel staff → Printable report: prints floor report
README.md