The Emergency Response System is a web application designed to provide efficient and prompt response to emergencies within the Kathmandu Valley. It leverages a combination of HTML, CSS, and JavaScript for the frontend, while the backend is powered by Python, Flask, and SQLite. The system incorporates Dijkstra's algorithm for route calculation, ensuring quick and optimal paths for ambulances to reach users in distress.
- User registration and authentication for secure access.
- Automatic selection of the nearest ambulance using route calculation.
- Ambulance dispatch functionality for quick response.
- Seamless integration with hospital locations for patient transport.
- Frontend: HTML, CSS, JavaScript (Leaflet API for mapping).
- Backend: Python, Flask, SQLite.
- Algorithm: Dijkstra's algorithm for route calculation.
- Clone this repository to your local machine.
- Navigate to the project directory.
- Set up a virtual environment (optional but recommended).
- Install the required dependencies using
pip install -r requirements.txt
. - Run the application using
python app.py
. - Access the application in your web browser at http://localhost:5000.
app.py
: Main entry point for the Flask application.static/
: Contains static files such as CSS and JavaScript.templates/
: HTML templates for rendering pages.
If you'd like to contribute to this project, feel free to fork the repository and submit a pull request. We welcome any improvements, bug fixes, or feature additions.