Skip to content

A Flask-based web app to find the fastest route to Jalandhar Civil Hospital using Dijkstra's algorithm. Features dynamic traffic simulation and an interactive SVG map.

Notifications You must be signed in to change notification settings

Scifi-ally/Direkt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title: Flask-Based Web Application for Fastest Route Navigation to Jalandhar Civil Hospital

Description:
This project is a dynamic web application developed using Flask that determines the fastest route to Jalandhar Civil Hospital from a given location using Dijkstra’s Algorithm. The application features an interactive SVG map that visually represents the road network, nodes (intersections), and real-time simulated traffic conditions. Each route is computed by taking both distance and traffic delays into account, allowing for more realistic and practical routing.

Key Features:

  • Dijkstra’s Algorithm for calculating the shortest path based on weighted graph representation.
  • Dynamic Traffic Simulation that alters edge weights in real-time to mimic traffic congestion and affect route computation accordingly.
  • Interactive SVG Map Interface where users can:
    • Select starting points manually.
    • View highlighted optimal paths to the destination (Jalandhar Civil Hospital).
    • Hover over or click on roads/nodes to see traffic status or road names.
  • Modular Design with clear separation between the frontend (HTML/CSS/JS + SVG map) and backend (Flask + Python logic).
  • Scalable: Easily extendable to include multiple destinations, more cities, or real-time traffic data from APIs in the future.

Use Cases:

  • Helps emergency services and ambulance drivers find the fastest route to the hospital.
  • Useful for urban planning and traffic management simulations.

1-

WhatsApp Image 2025-04-09 at 02 49 00_821c9abc

2-

image

About

A Flask-based web app to find the fastest route to Jalandhar Civil Hospital using Dijkstra's algorithm. Features dynamic traffic simulation and an interactive SVG map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •