Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a web frontend for the Waypoint project, enabling users to interact with the shortest flight path algorithm through a browser interface. It adds a Flask-based web server, a user-friendly HTML/CSS/JS frontend, and updates the project configuration and documentation to support the new web functionality.
Web Application Integration:
web/app.pythat exposes endpoints for rendering the frontend and processing route requests using the Dijkstra algorithm. The server loads graph and airport data and provides JSON responses for frontend requests.web/config.pyto specify data file paths for the web server.Frontend Implementation:
web/templates/index.html) for the user interface, including input fields for start and end locations, a button to reverse inputs, and a button to fetch the fastest route.web/static/script.js) to handle user interactions, send requests to the backend, and display results or errors.web/static/styles.css) for a modern, responsive look and feel.Project Configuration and Documentation:
pyproject.tomlto version 0.2.0, added Flask as a dependency, and included Commitizen configuration for versioning and changelog management. [1] [2]README.mdto document how to run the web server, list the newweb/directory, and reflect the updated project structure. [1] [2] [3]