How anushkaa2306/rainfallpredictionsih2026- works
FloodWatch AI is a flood and monsoon-risk dashboard for monitoring hazards and supporting response decisions. The visible product areas cover rainfall, flood probability, inundation, road conditions, safe routes, and emergency services. The sampled code confirms the home route renders the dashboard and shows how emergency-service and flood-risk data are obtained; other feature wiring is not established by the excerpts, so those links are omitted.
Main entry points: index.tsx Home route · EmergencyServices.tsx Emergency services · useRiskPrediction.ts Risk selector · useFloodScenario.ts Scenario selector
Components 19
Application
- Home route
src/routes/index.tsx - Dashboard
src/pages/Dashboard.tsx
Hazard intelligence
- Flood risk
src/features/flood-risk - Rainfall outlook
src/features/rainfall - Inundation forecast
src/features/inundation - Flood risk map
src/components/map/FloodRiskMap.tsx
Response planning
- Road intelligence
src/features/road-intelligence - Safe routes
src/features/safe-routes - Emergency services
src/features/emergency-response/EmergencyServices.tsx - Authority view
src/pages/Authority.tsx
Data access
- Risk selector
src/hooks/useRiskPrediction.ts - Scenario selector
src/hooks/useFloodScenario.ts - Emergency directory
src/services/emergencyApi.ts - Prediction data
src/services/predictionApi.ts - Scenario data
src/features/inundation/inundation.utils.ts - Weather service
src/services/weatherApi.ts - Route service
src/services/routeApi.ts - Demo datasets
src/data/demo
Other components
- Dashboard user
Connections 5
- Dashboard user → Home route: opens
- Home route → Dashboard: renders
- Risk selector → Prediction data: loads zones
- Scenario selector → Scenario data: gets scenario
- Emergency services → Emergency directory: loads services