Skip to content

shrestha-ankit/Emergency-Response-System-Using-Dijkstra-s-Algorithm-In-The-Context-Of-The-Kathmandu-Valley

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emergency Response System Using Dijkstra's Algorithm in the Context of the Kathmandu Valley

Overview

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.

Features

  • 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.

Technology Stack

  • Frontend: HTML, CSS, JavaScript (Leaflet API for mapping).
  • Backend: Python, Flask, SQLite.
  • Algorithm: Dijkstra's algorithm for route calculation.

How to Run

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Set up a virtual environment (optional but recommended).
  4. Install the required dependencies using pip install -r requirements.txt.
  5. Run the application using python app.py.
  6. Access the application in your web browser at http://localhost:5000.

Project Structure

  • app.py: Main entry point for the Flask application.
  • static/: Contains static files such as CSS and JavaScript.
  • templates/: HTML templates for rendering pages.

Contribution Guidelines

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published