How it24101153/rescuesrilanka-sef_kdy_se_02 works
Rescue Sri Lanka is a disaster-response platform with a web coordination console and a backend API; the tree also shows a mobile client, but its application source is not present. The main workflow is incident or help-request intake, analysis and prioritization, then resource/team coordination and dispatch decisions. The graph includes resource operations, safety zones, notifications, and authentication as related capabilities. The README is empty, so product scope and unsampled subsystem wiring are inferred cautiously from the tree and sampled excerpts.
Main entry points: App.tsx Console app · Program.cs Rescue API · IncidentsController.cs Incident endpoints · ImageStorageService.cs Incident photos
Components 32
Web console
- Console app
frontend/src/App.tsx - Incident dashboard
frontend/src/components/componentA/DisasterDashboard.tsx - Help dashboard
frontend/src/components/componentB/HelpRequestDashboard.tsx - Rescue dashboard
frontend/src/components/componentD/RescueCoordinatorDashboard.tsx - Sign-in
frontend/src/shared/auth/authService.ts
Incident and requests
- Incident endpoints
backend/RescueSriLanka.Api/Features/ComponentA/Controllers/IncidentsController.cs - Incident handling
backend/RescueSriLanka.Api/Features/ComponentA/Services/IncidentService.cs - Incident analysis
backend/RescueSriLanka.Api/Features/ComponentA/Agents/IncidentAnalysisAgent/IncidentAnalysisAgent.cs - Incident photos
backend/RescueSriLanka.Api/Features/ComponentA/Services/ImageStorageService.cs - Help requests
backend/RescueSriLanka.Api/Features/ComponentB/Controllers/HelpRequestsController.cs - Request handling
backend/RescueSriLanka.Api/Features/ComponentB/Services/HelpRequestService.cs - Workflow planner
backend/RescueSriLanka.Api/Features/ComponentB/Agents/PlannerAgent/PlannerAgentService.cs - Safety zones
backend/RescueSriLanka.Api/Features/ComponentA/Services/SafetyZoneService.cs - Notifications
backend/RescueSriLanka.Api/Features/ComponentA/Services/Notifications/NotificationService.cs
Response coordination
- Resource endpoints
backend/RescueSriLanka.Api/Features/ComponentC/Controllers/ResourcesController.cs - Resource management
backend/RescueSriLanka.Api/Features/ComponentC/Services/ResourceManagementService.cs - Dispatch endpoints
backend/RescueSriLanka.Api/Features/ComponentD/Controllers/DispatchesController.cs - Dispatch decisions
backend/RescueSriLanka.Api/Features/ComponentD/Services/DispatchService.cs - Agent orchestration
backend/RescueSriLanka.Api/Features/ComponentD/Agents/Orchestration/AgentOrchestrator.cs - Safety validation
backend/RescueSriLanka.Api/Features/ComponentD/Agents/SafetyValidation/SafetyValidationAgent.cs - Rescue teams
backend/RescueSriLanka.Api/Features/ComponentD/Services/RescueTeamService.cs - Coordination data
backend/RescueSriLanka.Api/Features/ComponentD/Data/ComponentDDbContext.cs
Shared platform
- Rescue API
backend/RescueSriLanka.Api/Program.cs - Auth endpoints
backend/RescueSriLanka.Api/Controllers/AuthController.cs - Authentication
backend/RescueSriLanka.Api/Services/AuthService.cs - Application data
backend/RescueSriLanka.Api/Data/AppDbContext.cs - Image storage
backend/RescueSriLanka.Api/Services/Storage/IImageStore.cs - Gemini analysis
backend/RescueSriLanka.Api/Features/ComponentB/Services/GeminiAnalysisService.cs - Email service
backend/RescueSriLanka.Api/Services/Email/IEmailSender.cs
Other components
- Citizen
- Coordinator
- Mobile client
Connections 28
- Citizen → Console app: uses
- Coordinator → Console app: uses
- Console app → Sign-in: renders
- Console app → Incident dashboard: routes
- Console app → Help dashboard: routes
- Console app → Rescue dashboard: routes
- Sign-in → Rescue API: signs in
- Incident dashboard → Rescue API: requests data
- Help dashboard → Rescue API: requests data
- Rescue dashboard → Rescue API: requests data
- Mobile client → Rescue API: submits requests
- Rescue API → Auth endpoints: hosts
- Auth endpoints → Authentication: calls
- Authentication → Application data: reads/writes
- Incident endpoints → Incident handling: calls
- Incident endpoints → Incident photos: uploads photos
- Incident photos → Application data: records images
- Incident photos → Image storage: stores/loads bytes
- Incident endpoints → Incident analysis: runs analysis
- Help requests → Request handling: calls
- Help requests → Workflow planner: triggers workflow
- Workflow planner → Gemini analysis: analyzes requests
- Resource endpoints → Resource management: calls
- Dispatch endpoints → Dispatch decisions: calls
- Dispatch decisions → Coordination data: reads/writes
- Rescue teams → Coordination data: manages teams
- Safety zones → Application data: reads/writes
- Notifications → Email service: sends mail