Giter Club home page Giter Club logo

flight-management-system's Introduction

Flight Management System (Flight Planner)

Overview

Flight Planner is a web application designed to assist users in finding and organizing their flights. Built using Flask, a micro web framework written in Python, it allows users to search for flights, view various statistics like the longest and shortest flights, and manage their flight bookings. The application uses a PostgreSQL database to store and query flight information.

Features

  • Flight Search: Users can search for flights based on their preferences.
  • Statistics: View lists of the longest, shortest, busiest, most expensive, and cheapest flights.
  • User Authentication: Secure login and registration system for users.
  • Profile Management: Users can view their profile and manage bookings.
  • Flight Sorting: Flights can be sorted based on price or duration.

Installation

  1. Clone the repository to your local machine.
  2. Ensure that Python 3 and pip are installed.
  3. Install Flask: pip install Flask.
  4. Install psycopg2: pip install psycopg2.
  5. Set up a PostgreSQL database and update the DB_HOST, DB_NAME, DB_USER, and DB_PASS in the code to match your database credentials.

Usage

  1. Run the application using python app.py.
  2. Access the web application by navigating to localhost:5000 in your web browser.
  3. Register for an account or login.
  4. Start searching for flights and explore various flight statistics.

Contributions

Contributions are welcome! Please fork the repository and open a pull request with your proposed changes.

License

Distributed under the MIT License. See LICENSE for more information.

flight-management-system's People

Contributors

performant23 avatar dinpuiahmar avatar

Watchers

 avatar

flight-management-system's Issues

Improve Security and Code Structure

The application currently has all routes defined in a single file and stores user passwords in plain text.

Changes:

  1. Implement password hashing for user authentication: Generally a good practice for development.
  2. Reorganize the routes into separate files based on their functionalities. This will make the code easier to navigate, debug, and maintain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.