How ssuchada/repairrequest works
This is an online dormitory repair-reporting system. Its apparent user workflow spans resident reporting, administrative review or assignment, and technician repair work, with authentication and profile management as supporting capabilities. The repository tree identifies the relevant web pages, controllers, services, repositories, and Supabase configuration, but no source excerpts were provided; therefore, inferred runtime relationships are shown as dashed and unverified rather than asserted as observed calls.
Main entry points: Technician Technician pages · ReporterController.java Reporter routes · reporter Reporter pages · admin Admin pages
Components 20
Web interface
- Reporter pages
src/main/resources/templates/reporter - Admin pages
src/main/resources/templates/admin - Technician pages
src/main/resources/templates/Technician - Login and registration
src/main/resources/templates
Repair workflow
- Reporter routes
src/main/java/com/example/dormitory/controller/ReporterController.java - Admin repair routes
src/main/java/com/example/dormitory/controller/AdminRepairRequestController.java - Technician routes
src/main/java/com/example/dormitory/controller/TechnicianController.java - Repair work routes
src/main/java/com/example/dormitory/controller/RepairWorkController.java - Repair request service
src/main/java/com/example/dormitory/service/RepairRequestServiceImpl.java - Assignment service
src/main/java/com/example/dormitory/service/RepairAssignmentService.java
Identity and profiles
- Authentication routes
src/main/java/com/example/dormitory/controller/AuthController.java - Authentication service
src/main/java/com/example/dormitory/service/AuthService.java - Reporter profiles
src/main/java/com/example/dormitory/service/ReporterProfileServiceImpl.java - Supabase authentication
- Supabase configuration
src/main/java/com/example/dormitory/config/SupabaseConfig.java
Domain data
- Domain repositories
src/main/java/com/example/dormitory/repository - Repair and user models
src/main/java/com/example/dormitory/model
Other components
- Resident
- Administrator
- Technician
Connections 16
- Resident → Reporter pages: uses
- Reporter pages → Reporter routes: submits reports
- Reporter routes → Repair request service: handles requests
- Repair request service → Domain repositories: accesses records
- Domain repositories → Repair and user models: persists domain data
- Administrator → Admin pages: uses
- Admin pages → Admin repair routes: manages requests
- Admin repair routes → Assignment service: assigns repairs
- Technician → Technician pages: uses
- Technician pages → Technician routes: views repair work
- Technician pages → Repair work routes: updates repair work
- Login and registration → Authentication routes: authenticates
- Authentication routes → Authentication service: delegates authentication
- Authentication service → Supabase authentication: uses authentication
- Supabase configuration → Supabase authentication: configures client
- Reporter routes → Reporter profiles: manages profiles