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/dashboardcd /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 --reloadcd /app/frontend
yarn install
yarn start
# Access at: http://localhost:3000/gov/dashboardcd /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