How mandavavasanth/rakshaknet works
RakshakNet is a disaster-response command center for receiving field alerts, coordinating rescue teams, and monitoring operations. Its main workflow runs from LoRa hardware packets through the serial bridge into the API, where alerts are validated, stored, and broadcast to connected dashboards; operators review locations and dispatch teams. The product also provides mission history and reports, team inventory, dispatch chat, statistics, and AI-intelligence views. Backend route details for several auxiliary domains and implementation details of some frontend pages were not excerpted, so those links are limited to documented or indexed evidence.
Main entry points: App.jsx Dashboard App · alerts.py Alert API · main.py FastAPI Application · teams.py Team API
Components 26
Field Intake
- Serial Bridge
serial_bridge/bridge.py
API and Operations
- FastAPI Application
main.py - Alert API
routes/alerts.py - Team API
routes/teams.py - Other API Routes
routes - Request Schemas
schemas.py - API Key Checks
security.py - WebSocket Broadcast
websocket_manager.py
Command Dashboard
- Dashboard App
src/App.jsx - API Client
src/utils/api.js - WebSocket Hook
src/hooks/useWebSocket.js - Alert Dispatch
src/pages/ActiveAlerts.jsx - Live GPS Map
src/pages/LiveGPSMap.jsx - Dashboard View
src/pages/Dashboard.jsx - Rescue Teams View
src/pages/RescueTeams.jsx - Dispatch Chat
src/pages/DispatchChat.jsx - Mission History
src/pages/MissionHistory.jsx - Team Inventory
src/pages/RescueTeams.jsx - AI Intelligence
src/pages/AIIntelligence.jsx - Settings
src/pages/Settings.jsx - Voice Controls
src/voice/voiceController.js - Operations Statistics
src/components/StatsCard.jsx
Operational Records
- Database Session
database.py - Operational Models
models.py
Other components
- Emergency Operator
- LoRa Nodes
Connections 35
- LoRa Nodes → Serial Bridge: sends packets
README.md - Serial Bridge → FastAPI Application: submits alerts
README.md - FastAPI Application → Alert API: registers routes
main.py - FastAPI Application → Team API: registers routes
main.py - FastAPI Application → Other API Routes: registers routes
main.py - Alert API → Request Schemas: validates payloads
routes/alerts.py - Alert API → API Key Checks: checks keys
routes/alerts.py - Alert API → Database Session: opens sessions
routes/alerts.py - Alert API → Operational Models: queries records
routes/alerts.py - Team API → Database Session: opens sessions
routes/teams.py - Team API → Operational Models: queries records
routes/teams.py - Team API → API Key Checks: checks keys
routes/teams.py - Alert API → WebSocket Broadcast: broadcasts updates
routes/alerts.py - Team API → WebSocket Broadcast: broadcasts changes
routes/teams.py - FastAPI Application → WebSocket Broadcast: accepts socket
main.py - Emergency Operator → Dashboard App: uses dashboard
README.md - Dashboard App → API Client: loads data
src/App.jsx - Dashboard App → WebSocket Hook: subscribes updates
src/App.jsx - WebSocket Hook → Dashboard App: delivers messages
src/hooks/useWebSocket.js - Dashboard App → Alert Dispatch: renders page
src/App.jsx - Dashboard App → Live GPS Map: renders page
src/App.jsx - Dashboard App → Dashboard View: renders page
src/App.jsx - Dashboard App → Rescue Teams View: renders page
src/App.jsx - Dashboard App → Dispatch Chat: renders page
src/App.jsx - Dashboard App → Mission History: renders page
src/App.jsx - Dashboard App → AI Intelligence: renders page
src/App.jsx - Dashboard App → Settings: renders page
src/App.jsx - Alert Dispatch → API Client: updates alerts
src/pages/ActiveAlerts.jsx - API Client → Alert API: calls endpoints
src/utils/api.js - WebSocket Broadcast → WebSocket Hook: broadcasts events
README.md - Emergency Operator → Voice Controls: uses controls
- Dashboard View → Operations Statistics: shows metrics
- Rescue Teams View → Team Inventory: manages supplies
README.md - Emergency Operator → Mission History: downloads reports
README.md - Emergency Operator → Live GPS Map: tracks incidents
README.md