How sakshamnagar2805/reliefhub works
ReliefHub is a client-side disaster-relief coordination app for capturing citizen needs, registering supplies, recommending matches, and tracking dispatches. The main workflow runs through App.jsx, which manages request/resource state, persists it locally, computes recommendations, and renders operational views. The broader interface also includes shelter capacity, volunteer inventory, gap intelligence, scenario simulation, a tactical map, and a citizen-facing emergency chatbot. Edges reflect the sampled App, storage, matching, and view excerpts; unsampled component wiring is left unasserted.
Main entry points: App.jsx Application state and views · main.jsx React entry · storage.js Local data persistence · CitizenView.jsx Citizen requests and tracking
Components 25
App Coordination
- React entry
reliefhub/src/main.jsx - Application state and views
reliefhub/src/App.jsx - Local data persistence
reliefhub/src/utils/storage.js - Header
reliefhub/src/components/Header.jsx - Navigation sidebar
reliefhub/src/components/Sidebar.jsx - Identity portal
reliefhub/src/components/LoginModal.jsx - Initial request and resource data
reliefhub/src/data/seedData.js
Relief Intake
- Citizen requests and tracking
reliefhub/src/views/CitizenView.jsx - Emergency request form
reliefhub/src/components/RequestForm.jsx - Emergency field relay
reliefhub/src/components/EmergencyChatbot.jsx - Request queue
reliefhub/src/components/RequestList.jsx - Volunteer resource registry
reliefhub/src/views/VolunteerView.jsx - Resource registration form
reliefhub/src/components/ResourceForm.jsx - Resource inventory list
reliefhub/src/components/ResourceList.jsx
Matching Intelligence
- Relief matching engine
reliefhub/src/utils/matching.js - Match recommendations
reliefhub/src/components/MatchPanel.jsx - Operational metrics
reliefhub/src/components/MetricCards.jsx - Needs gap radar
reliefhub/src/components/GapRadar.jsx - Scenario simulator
reliefhub/src/components/ScenarioSimulator.jsx - Tactical sector map
reliefhub/src/components/TacticalMap.jsx - Relief pulse intelligence
reliefhub/src/views/ReliefPulseView.jsx
Field Operations
- Assignments and delivery tracking
reliefhub/src/views/AssignmentsView.jsx - Shelter capacity directory
reliefhub/src/views/SheltersView.jsx - Status and urgency badges
reliefhub/src/components/StatusBadge.jsx
Other components
- ReliefHub user
Connections 24
- ReliefHub user → React entry: opens app
reliefhub/src/main.jsx - React entry → Application state and views: renders
reliefhub/src/main.jsx - Application state and views → Local data persistence: loads and saves
reliefhub/src/App.jsx - Local data persistence → Initial request and resource data: loads fallback data
reliefhub/src/utils/storage.js - Application state and views → Relief matching engine: computes recommendations
reliefhub/src/App.jsx - Application state and views → Operational metrics: renders
reliefhub/src/App.jsx - Application state and views → Tactical sector map: renders
reliefhub/src/App.jsx - Application state and views → Needs gap radar: renders
reliefhub/src/App.jsx - Application state and views → Emergency request form: renders
reliefhub/src/App.jsx - Application state and views → Resource registration form: renders
reliefhub/src/App.jsx - Application state and views → Request queue: renders
reliefhub/src/App.jsx - Application state and views → Resource inventory list: renders
reliefhub/src/App.jsx - Application state and views → Match recommendations: renders
reliefhub/src/App.jsx - Application state and views → Citizen requests and tracking: renders
reliefhub/src/App.jsx - Application state and views → Volunteer resource registry: renders
reliefhub/src/App.jsx - Application state and views → Relief pulse intelligence: renders
reliefhub/src/App.jsx - Application state and views → Shelter capacity directory: renders
reliefhub/src/App.jsx - Application state and views → Assignments and delivery tracking: renders
reliefhub/src/App.jsx - Application state and views → Scenario simulator: renders
reliefhub/src/App.jsx - Application state and views → Header: renders
reliefhub/src/App.jsx - Application state and views → Navigation sidebar: renders
reliefhub/src/App.jsx - Application state and views → Identity portal: renders
reliefhub/src/App.jsx - Citizen requests and tracking → Status and urgency badges: renders badges
reliefhub/src/views/CitizenView.jsx - Assignments and delivery tracking → Status and urgency badges: renders badges
reliefhub/src/views/AssignmentsView.jsx