How vaishnavimailwar/aegis-adaptive-emergency-geospatial-intelligence-system works
Aegis is an emergency coordination workspace: citizens and responders use role-based screens to review operational conditions and coordinate incidents, assistance, medical needs, relief, recovery, and information. Its API validates and routes operations requests to a persistent operations snapshot. A legacy risk-monitoring experience separately evaluates flood exposure using weather, nearby-place, and mapped hydrological data. The README is empty; links between the main Aegis UI and API are not shown in the excerpts, so that connection is omitted. The mockup sandbox and shared UI primitives are not central runtime domain components.
Main entry points: RiskMonitoring.jsx Risk monitoring · App.jsx Risk navigation · index.ts API route registry · main.tsx Aegis app entry
Components 28
Aegis operations
- Aegis app entry
artifacts/aegis/src/main.tsx - Operations workspace
artifacts/aegis/src/App.tsx
Flood risk analysis
- Risk app entry
artifacts/aegis/src/legacy-risk/main.jsx - Risk navigation
artifacts/aegis/src/legacy-risk/App.jsx - Location and weather
artifacts/aegis/src/legacy-risk/App.jsx - Nearby places lookup
artifacts/aegis/src/legacy-risk/nearbyPlaces.js - Zone weather lookup
artifacts/aegis/src/legacy-risk/zoneWeather.js - Risk overview
artifacts/aegis/src/legacy-risk/pages/Home.jsx - Risk monitoring
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk map
artifacts/aegis/src/legacy-risk/components/RiskMap.jsx - Infrastructure exposure
artifacts/aegis/src/legacy-risk/components/InfrastructureExposure.jsx - Hydrological exposure
artifacts/aegis/src/legacy-risk/components/HydrologicalExposure.jsx - Infrastructure vulnerability
artifacts/aegis/src/legacy-risk/components/InfrastructureVulnerability.jsx - Terrain vulnerability
artifacts/aegis/src/legacy-risk/components/TerrainVulnerability.jsx - Drainage vulnerability
artifacts/aegis/src/legacy-risk/components/DrainageVulnerability.jsx - Capacity assessment
artifacts/aegis/src/legacy-risk/components/CapacityAssessment.jsx - Historical flood data
artifacts/aegis/src/legacy-risk/historicalFlood.js - Risk alerts
artifacts/aegis/src/legacy-risk/pages/Alerts.jsx - Safety guidance
artifacts/aegis/src/legacy-risk/pages/Safety.jsx
Operations API
- HTTP application
artifacts/api-server/src/app.ts - API route registry
artifacts/api-server/src/routes/index.ts - Health endpoint
artifacts/api-server/src/routes/health.ts - Operations endpoints
artifacts/api-server/src/routes/operations.ts
Operational state
- Operations snapshot store
artifacts/api-server/src/lib/operations-store.ts
Other components
- Citizen or responder
- Overpass service
- Open-Meteo geocoding
- GeoNames service
Connections 26
- Citizen or responder → Aegis app entry: opens
artifacts/aegis/src/main.tsx - Aegis app entry → Operations workspace: renders
artifacts/aegis/src/main.tsx - Citizen or responder → Risk app entry: opens
- Risk app entry → Risk navigation: renders
artifacts/aegis/src/legacy-risk/main.jsx - Risk navigation → Location and weather: routes weather
artifacts/aegis/src/legacy-risk/App.jsx - Risk navigation → Risk overview: renders
artifacts/aegis/src/legacy-risk/App.jsx - Risk navigation → Risk monitoring: routes monitoring
artifacts/aegis/src/legacy-risk/App.jsx - Risk navigation → Risk alerts: routes alerts
artifacts/aegis/src/legacy-risk/App.jsx - Risk navigation → Safety guidance: routes safety
artifacts/aegis/src/legacy-risk/App.jsx - Location and weather → Nearby places lookup: looks up places
artifacts/aegis/src/legacy-risk/App.jsx - Location and weather → Zone weather lookup: gets zone weather
artifacts/aegis/src/legacy-risk/App.jsx - Location and weather → Open-Meteo geocoding: geocodes location
artifacts/aegis/src/legacy-risk/App.jsx - Location and weather → GeoNames service: gets population
artifacts/aegis/src/legacy-risk/App.jsx - Risk monitoring → Risk map: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Infrastructure exposure: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Hydrological exposure: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Infrastructure vulnerability: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Terrain vulnerability: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Drainage vulnerability: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Capacity assessment: renders
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Risk monitoring → Historical flood data: loads history
artifacts/aegis/src/legacy-risk/pages/RiskMonitoring.jsx - Hydrological exposure → Overpass service: queries features
artifacts/aegis/src/legacy-risk/components/HydrologicalExposure.jsx - HTTP application → API route registry: mounts API
artifacts/api-server/src/app.ts - API route registry → Health endpoint: registers
artifacts/api-server/src/routes/index.ts - API route registry → Operations endpoints: registers
artifacts/api-server/src/routes/index.ts - Operations endpoints → Operations snapshot store: reads and updates
artifacts/api-server/src/routes/operations.ts