How dharageshcareer/main_challenge_monsoon_assist_ai works
MonsoonMind is a preparedness web app: people select or create a household profile, then use a dashboard for weather-aware advice, route safety, local bulletins, community incident reporting, and a multilingual assistant. The React app coordinates these workflows and calls an Express API; the API uses SQLite and documented external weather, news, geocoding, and Gemini services. The README supplies several capability and integration details not visible in the partial server excerpts, so those documented links cite it.
Main entry points: App.jsx App coordinator · Dashboard.jsx Preparedness dashboard · IncidentReportModal.jsx Incident map report · Chatbot.jsx WeatherMan chat
Components 18
Preparedness app
- App coordinator
client/src/App.jsx - Profile sign-in
client/src/components/Login.jsx - Onboarding wizard
client/src/components/Wizard.jsx - Preparedness dashboard
client/src/components/Dashboard.jsx - Incident map report
client/src/components/IncidentReportModal.jsx - WeatherMan chat
client/src/components/Chatbot.jsx
API workflows
- Profile API
server/server.js - Preparedness advice
server/server.js - Route safety evaluation
server/server.js - News aggregation
server/server.js - Chat assistant API
server/server.js - Incident reporting API
server/server.js
Profile and incident data
- SQLite profiles and incidents
server/database.js
External services
- Open-Meteo
- Google News RSS
- Nominatim geocoder
- Gemini API
Other components
- Resident
Connections 23
- Resident → Profile sign-in: selects profile
client/src/components/Login.jsx - Resident → Onboarding wizard: enters details
client/src/components/Wizard.jsx - App coordinator → Profile sign-in: renders
client/src/App.jsx - App coordinator → Onboarding wizard: renders
client/src/App.jsx - App coordinator → Preparedness dashboard: renders
client/src/App.jsx - App coordinator → Incident map report: renders
client/src/App.jsx - App coordinator → WeatherMan chat: renders
client/src/App.jsx - App coordinator → Profile API: loads and creates profiles
client/src/App.jsx - App coordinator → Preparedness advice: requests advice
client/src/App.jsx - App coordinator → Route safety evaluation: requests route review
client/src/App.jsx - App coordinator → Chat assistant API: sends chat
client/src/App.jsx - App coordinator → Incident reporting API: broadcasts report
- Preparedness dashboard → App coordinator: triggers dashboard actions
client/src/App.jsx - Incident map report → App coordinator: submits report
client/src/App.jsx - WeatherMan chat → App coordinator: submits message
client/src/App.jsx - Profile API → SQLite profiles and incidents: reads and writes
server/server.js - Incident reporting API → SQLite profiles and incidents: stores reports
server/server.js - Preparedness advice → Gemini API: generates guidance
README.md - Route safety evaluation → Gemini API: assesses route
README.md - Chat assistant API → Gemini API: generates reply
README.md - News aggregation → Google News RSS: fetches bulletins
README.md - App coordinator → Open-Meteo: requests live weather
README.md - App coordinator → Nominatim geocoder: resolves GPS location
README.md