A comprehensive hackathon project connecting citizens, AI monitoring systems, and government authorities for real-time emergency response.
SurakshaNet is a multi-component safety ecosystem:
- Citizens: Report emergencies via mobile app
- AI Systems: Detect incidents through CCTV analysis
- Authorities: Monitor & respond via government dashboard
- NGOs/Responders: Accept & dispatch help
βββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββββ
β Citizen App ββββββΆβ Backend API βββββββ Gov Dashboard β
β (React Native) β β (Node + Express)β β (React Web) β
βββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β MongoDB β
βββββββββββββββββββ
β²
β
βββββββββββββββββββ
β AI CCTV Serviceβ
β (FastAPI) β
βββββββββββββββββββ
/app/
βββ backend/ # Incident Engine + CCTV Service
β βββ server.js # Main Express API endpoints
β βββ cctv_service.py # FastAPI CCTV forwarding service
β βββ server.py # Legacy FastAPI backend (not primary)
β βββ package.json
β βββ requirements.txt
β
βββ frontend/ # Government Web Dashboard (React)
β βββ src/pages/gov/ # Dashboard, Live Map, Alerts
β βββ src/components/ # Reusable UI components
β βββ src/lib/api.js # API service
β
βββ citizen-mobile-app/ # Citizen Mobile App (React Native)
βββ src/screens/ # Home, Report, Nearby, Map
βββ src/services/api.js # Backend communication
βββ src/utils/location.js # GPS utilities
cd /app npm install npm run dev # Backend: http://localhost:8001/api/ # Web: http://localhost:3000/gov/dashboard
cd /app
npm run dev:allcd /app/backend
npm install
npm run devcd /app/backend python -m venv .venv source .venv/Scripts/activate # Git Bash on Windows pip install -r requirements.txt uvicorn cctv_service:app --host 0.0.0.0 --port 8002 --reload
cd /app/frontend yarn install yarn start # Access at: http://localhost:3000/gov/dashboard
cd /app/citizen-mobile-app yarn install npx react-native run-android # or run-ios
β
Real-time incident monitoring
β
Interactive live map with markers
β
SOS, CCTV & Disaster alert pages
β
Response team management
β
Statistics dashboard
β
Emergency SOS button with GPS
β
Incident reporting form
β
Nearby alerts feed
β
Safety map view
β
Emergency contact quick dial
β
Incident CRUD operations
β
Real-time statistics
β
Response assignment
β
MongoDB integration
POST /api/incidents/sos- Create SOS alertPOST /api/incidents/cctv- Create CCTV detectionPOST /api/incidents/disaster- Create disaster alertGET /api/incidents- Fetch all incidentsPATCH /api/incidents/{id}/respond- Assign responderPATCH /api/incidents/{id}/resolve- Mark resolvedGET /api/incidents/stats/summary- Get statistics
Frontend: React 19, Tailwind CSS, Leaflet Maps, Shadcn/UI
Mobile: React Native 0.73, React Navigation, React Native Maps
Backend: Node.js, Express, MongoDB Driver
CCTV Service: FastAPI, httpx
Database: MongoDB
- Moumita Baishya - Government Dashboard
- Amlandwip Das - Incident Management
- Sahid Ahmed - Citizen Mobile App
- Harish Gohain - AI CCTV Detection
Built with β€οΈ for community safety