How r-yn06/germs-ers works
GERMS is a desktop emergency-response management application. Its principal workflow is to submit incident reports, verify and publish them, assign response teams, track response status and timeline, and close incidents. Users enter through authentication or guest reporting; role-specific panels support administration and field response. AppContext wires shared services to Supabase-backed repositories. The README is empty, so capabilities are inferred from the source tree; some panel behavior is unsampled, and the graph avoids asserting unverified calls.
Main entry points: AppContext.java Service wiring · AuthService.java Authentication service · IncidentService.java Incident workflow service · Shell.java Role-based shell
Components 22
Application and access
- Desktop startup
GERMS/src/main/java/com/gudo/germs/Main.java - Role-based shell
GERMS/src/main/java/com/gudo/germs/ui/Shell.java
Incident operations
- Administration panels
GERMS/src/main/java/com/gudo/germs/ui/admin - Guest reporting panels
GERMS/src/main/java/com/gudo/germs/ui/guest - Responder panels
GERMS/src/main/java/com/gudo/germs/ui/incident - Operations map
GERMS/src/main/java/com/gudo/germs/ui/components/OpenStreetMapPanel.java - Incident workflow service
GERMS/src/main/java/com/gudo/germs/services/IncidentService.java - Incident record
GERMS/src/main/java/com/gudo/germs/models/Incident.java - Incident repository
GERMS/src/main/java/com/gudo/germs/services/SupabaseIncidentRepository.java
Identity and access
- Sign-in and registration
GERMS/src/main/java/com/gudo/germs/ui/auth/LoginPanel.java - Authentication service
GERMS/src/main/java/com/gudo/germs/services/AuthService.java - Supabase Auth client
GERMS/src/main/java/com/gudo/germs/supabase/AuthClient.java - Profile repository
GERMS/src/main/java/com/gudo/germs/repositories/ProfileRepository.java - User profile and role
GERMS/src/main/java/com/gudo/germs/models/Profile.java - Session manager
GERMS/src/main/java/com/gudo/germs/supabase/SessionManager.java
Shared platform
- Service wiring
GERMS/src/main/java/com/gudo/germs/config/AppContext.java - Supabase REST client
GERMS/src/main/java/com/gudo/germs/supabase/RestClient.java - HTTP transport
GERMS/src/main/java/com/gudo/germs/supabase/SupabaseHttp.java - Background task runner
GERMS/src/main/java/com/gudo/germs/utils/BackgroundTask.java - Theme manager
GERMS/src/main/java/com/gudo/germs/ui/theme/ThemeManager.java
Other components
- User
- Supabase services
Connections 28
- User → Sign-in and registration: signs in
- User → Guest reporting panels: submits report
- Desktop startup → Service wiring: creates
GERMS/src/main/java/com/gudo/germs/Main.java - Desktop startup → Role-based shell: opens
GERMS/src/main/java/com/gudo/germs/Main.java - Desktop startup → Theme manager: installs
GERMS/src/main/java/com/gudo/germs/Main.java - Service wiring → Authentication service: wires
GERMS/src/main/java/com/gudo/germs/config/AppContext.java - Service wiring → Incident workflow service: wires
GERMS/src/main/java/com/gudo/germs/config/AppContext.java - Service wiring → Supabase REST client: creates
GERMS/src/main/java/com/gudo/germs/config/AppContext.java - Service wiring → Session manager: creates
GERMS/src/main/java/com/gudo/germs/config/AppContext.java - Sign-in and registration → Authentication service: uses
- Authentication service → Supabase Auth client: authenticates
GERMS/src/main/java/com/gudo/germs/services/AuthService.java - Authentication service → Profile repository: loads profile
GERMS/src/main/java/com/gudo/germs/services/AuthService.java - Authentication service → Session manager: sets session
GERMS/src/main/java/com/gudo/germs/services/AuthService.java - Supabase Auth client → HTTP transport: sends auth requests
GERMS/src/main/java/com/gudo/germs/supabase/AuthClient.java - Profile repository → Supabase REST client: queries
GERMS/src/main/java/com/gudo/germs/repositories/ProfileRepository.java - Profile repository → User profile and role: maps records
GERMS/src/main/java/com/gudo/germs/repositories/ProfileRepository.java - Session manager → Supabase Auth client: refreshes token
GERMS/src/main/java/com/gudo/germs/supabase/SessionManager.java - Role-based shell → Administration panels: routes to
GERMS/src/main/java/com/gudo/germs/ui/Shell.java - Role-based shell → Guest reporting panels: routes to
GERMS/src/main/java/com/gudo/germs/ui/Shell.java - Role-based shell → Responder panels: routes to
GERMS/src/main/java/com/gudo/germs/ui/Shell.java - Incident workflow service → Incident repository: reads and writes
GERMS/src/main/java/com/gudo/germs/services/IncidentService.java - Incident workflow service → Incident record: builds and updates
GERMS/src/main/java/com/gudo/germs/services/IncidentService.java - Incident repository → Supabase REST client: persists incidents
GERMS/src/main/java/com/gudo/germs/services/SupabaseIncidentRepository.java - Supabase REST client → HTTP transport: sends REST requests
GERMS/src/main/java/com/gudo/germs/supabase/RestClient.java - HTTP transport → Supabase services: calls API
- Administration panels → Operations map: displays operations map
GERMS/src/main/java/com/gudo/germs/ui/admin/DashboardPanel.java - Responder panels → Incident workflow service: uses workflow
- Guest reporting panels → Incident workflow service: submits reports
GERMS/src/main/java/com/gudo/germs/ui/guest/GuestReportPanel.java