GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - Zen-X5/SurakshaNet

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
ai-engine
ai-engine
 
 
backend
backend
 
 
citizen-mobile-app
citizen-mobile-app
 
 
datasets
datasets
 
 
flood_testing
flood_testing
 
 
frontend
frontend
 
 
ppt_pheonix
ppt_pheonix
 
 
ppt_phoenix
ppt_phoenix
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
CONNECTION_ARCHITECTURE.md
CONNECTION_ARCHITECTURE.md
 
 
PROJECT_SUMMARY.md
PROJECT_SUMMARY.md
 
 
README.md
README.md
 
 
YOLOv8_Flood_Training.ipynb
YOLOv8_Flood_Training.ipynb
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

SurakshaNet - Smart National Safety & Emergency Response System

A comprehensive hackathon project connecting citizens, AI monitoring systems, and government authorities for real-time emergency response.

🎯 Project Overview

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

πŸ—οΈ System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Citizen App   │────▢│ Backend API     │◀────│  Gov Dashboard   β”‚
β”‚ (React Native)  β”‚     β”‚ (Node + Express)β”‚     β”‚   (React Web)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚
                               β–Ό
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚    MongoDB      β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β–²
                               β”‚
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚  AI CCTV Serviceβ”‚
                        β”‚    (FastAPI)    β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ Project Structure

/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

πŸš€ Getting Started

One-Command Dev (Backend + Web)

cd /app
npm install
npm run dev
# Backend: http://localhost:8001/api/
# Web: http://localhost:3000/gov/dashboard

One-Command Dev (Backend + Web + CCTV FastAPI)

cd /app
npm run dev:all

Backend Setup (Express)

cd /app/backend
npm install
npm run dev

CCTV Service Setup (FastAPI)

cd /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

Government Dashboard (Web)

cd /app/frontend
yarn install
yarn start
# Access at: http://localhost:3000/gov/dashboard

Citizen Mobile App (React Native)

cd /app/citizen-mobile-app
yarn install
npx react-native run-android  # or run-ios

πŸ“± Features

Government Dashboard

βœ… Real-time incident monitoring
βœ… Interactive live map with markers
βœ… SOS, CCTV & Disaster alert pages
βœ… Response team management
βœ… Statistics dashboard

Citizen Mobile App

βœ… Emergency SOS button with GPS
βœ… Incident reporting form
βœ… Nearby alerts feed
βœ… Safety map view
βœ… Emergency contact quick dial

Backend API

βœ… Incident CRUD operations
βœ… Real-time statistics
βœ… Response assignment
βœ… MongoDB integration

πŸ”Œ API Endpoints

  • POST /api/incidents/sos - Create SOS alert
  • POST /api/incidents/cctv - Create CCTV detection
  • POST /api/incidents/disaster - Create disaster alert
  • GET /api/incidents - Fetch all incidents
  • PATCH /api/incidents/{id}/respond - Assign responder
  • PATCH /api/incidents/{id}/resolve - Mark resolved
  • GET /api/incidents/stats/summary - Get statistics

🎨 Tech Stack

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

πŸŽ“ Hackathon Team

  • Moumita Baishya - Government Dashboard
  • Amlandwip Das - Incident Management
  • Sahid Ahmed - Citizen Mobile App
  • Harish Gohain - AI CCTV Detection

Built with ❀️ for community safety

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.