A modern full-stack MERN application that enables citizens, volunteers, and administrators to collaborate during emergencies through real-time reporting, volunteer management, live location services, and rescue tracking.
Built for HACKHAZARDS '26
https://safepath-hackhazard-project.onrender.com
SafePath is a community-driven emergency response platform designed to improve public safety by connecting citizens, volunteers, and emergency services on a single platform.
During emergencies, users can instantly report incidents, request help, discover nearby emergency services, and track rescue progress in real time.
The platform empowers verified volunteers and administrators to coordinate rescue operations efficiently while providing citizens with a simple and responsive interface.
Infrastructure, Mobility & Smart Systems
This domain focuses on building software that improves large-scale physical and digital systems, including transportation, emergency response, smart city infrastructure, mobility solutions, IoT-enabled platforms, and real-time monitoring systems.
SafePath was developed as a solution under the Infrastructure, Mobility & Smart Systems theme.
The platform enhances emergency response by enabling citizens, volunteers, and administrators to coordinate efficiently through a centralized digital platform.
- π¨ Real-time emergency incident reporting
- πΊοΈ Live location and interactive mapping
- π Nearby emergency service discovery
- π₯ Community volunteer coordination
- π Rescue assignment and tracking
- π₯ Smart emergency resource management
- π Administrative dashboard for emergency monitoring
- β‘ Faster communication during critical situations
By integrating mapping technologies, secure authentication, and centralized emergency management, SafePath helps improve coordination between citizens, volunteers, and emergency responders, contributing to safer and smarter communities.
Emergency response systems often suffer from:
- Slow communication
- Delayed emergency assistance
- Lack of nearby volunteer coordination
- Poor visibility of rescue progress
- Limited access to emergency resources
These issues increase response time and reduce the effectiveness of emergency management.
SafePath bridges the gap between people in need and responders by providing:
- Real-time emergency reporting
- Secure authentication system
- Community volunteer network
- Live rescue status tracking
- Nearby emergency services
- Interactive maps
- Centralized admin management
The platform ensures faster communication and more organized emergency coordination.
- Secure User Registration
- JWT Authentication
- Login & Logout
- Protected Routes
- Role-based Access Control
- Report Incidents
- Emergency SOS
- Incident Categories
- Live Rescue Tracking
- Report History
- Interactive Leaflet Maps
- Live User Location
- Nearby Hospitals
- Police Stations
- Fire Stations
- Pharmacies
- Volunteers
- Volunteer Registration
- Volunteer Dashboard
- Application Approval
- Rescue Assignment
- Rescue Status Updates
- Admin Login
- Dashboard Analytics
- Volunteer Approval
- Incident Management
- Rescue Assignment
- User Management
- Fully Responsive Design
- Clean UI
- Fast Navigation
- Mobile Friendly
- Modern Dashboard
- React 19
- Vite
- React Router DOM
- Axios
- React Leaflet
- Lucide React
- CSS3
- Node.js
- Express.js
- JWT Authentication
- REST API
- MongoDB Atlas
- Mongoose ODM
- Render: https://safepath-hackhazard-project.onrender.com/
- GitHub: https://github.com/Codewith-Yogita/SafePath_HACKHAZARD_PROJECT
User
β
βΌ
React + Vite Frontend
β
REST API Requests
β
βΌ
Node.js + Express API
β
JWT Authentication
β
βΌ
MongoDB Atlas Database
SafePath
β
βββ backend
β βββ config
β βββ controllers
β βββ middleware
β βββ models
β βββ routes
β βββ utils
β βββ data
β βββ server.js
β
βββ frontend
β βββ public
β βββ src
β β βββ components
β β βββ pages
β β βββ assets
β β βββ styles
β βββ vite.config.js
β
βββ README.md
βββ LICENSE
git clone https://github.com/Codewith-Yogita/SafePath_HACKHAZARD_PROJECT.gitcd backend
npm installcd frontend
npm installCreate a .env file inside the backend folder.
PORT=5000
MONGODB_URI=Your_MongoDB_Atlas_URI
JWT_SECRET=Your_JWT_Secret
NODE_ENV=developmentcd backend
npm run devcd frontend
npm run dev
- JWT Authentication
- Protected Routes
- Role-based Authorization
- Password Hashing (bcrypt)
- MongoDB Validation
- Secure REST APIs
- Live Socket.IO Notifications
- Push Notifications
- AI Incident Detection
- Image-based Incident Verification
- Route Optimization
- Multi-language Support
- Offline Emergency Mode
- Government API Integration
- Mobile Application
- Emergency Chat System
| Name | Role |
|---|---|
| Yogita Sharma | Team Lead & Full Stack Developer |
| Sawal Pushkarna | Team Member |
| Priyanshi | Team Member |
| Manpreet Dhir | Team Member |
Event
HACKHAZARDS '26
Theme
Infrastructure, Mobility & Smart Systems
SafePath was developed to improve emergency response through technology, enabling communities to collaborate during emergencies using modern web technologies.
Contributions are always welcome.
-
Fork the repository
-
Create your feature branch
git checkout -b feature-name- Commit your changes
git commit -m "Added new feature"- Push
git push origin feature-name- Open a Pull Request
Distributed under the MIT License.
See LICENSE for more information.
If you found this project useful,
please consider giving it a β on GitHub.
It really helps!