This MERN stack application provides a platform for users to quickly report emergencies and be directed to the nearest relevant facility.
- User Interface: Simple and intuitive design with three main emergency buttons: Hospital, Fire, Police.
- Geolocation: Determines user's location and directs them to the nearest facility based on their selected emergency.
- Admin Dashboard: Provides analytics and visualization of emergency data, including hotspot identification.
- Frontend: React
- Backend: Node.js, Express.js, Python
- Database: MongoDB
- Clone the repository.
- cd frontend
- Install dependencies:
npm install
- cd backend
- Install dependencies:
npm install
- Start the development server (backend):
npm run test
- Start the development server (frontend):
npm run dev
- Start the development server (python):
py flask_backend.py
- User selects an emergency type.
- Application determines user's location and displays nearest facility.
- Admin can access dashboard to view analytics and hotspots.
- For production deployment, consider using environment variables for configuration.
- Implement robust error handling and security measures.
- Optimize performance for large datasets and high traffic.