larry-lime / airline-ticket-system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues MIT License LinkedIn

Logo

This project is a simple airline ticket system that allows customers, booking agents, and airline staff to book tickets, search for flights, and view flight statistics.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. License
  5. Contact

About The Project

Product Name Screen Shot

Built With

  • Flask
  • Docker
  • Bootstrap
  • MySQL

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local devlopment instance up and running follow these simple steps.

Deploy with Docker

  1. Ensure you have Docker installed.
    docker --version
  2. Clone the repo
    git clone https://github.com/larry-lime/airline-ticket-system
    cd airline-ticket-system
  3. Run docker compose
    docker compose up -d --build
  4. Open http://localhost:8000 in your browser

Deploy Locally

  1. Add a .env file to the root directory. The file should contain the following environment variables:

    MYSQLHOST=your_mysql_host
    MYSQLUSER=root
    MYSQLPASSWORD=your_mysql_root_password
    MYSQLDATABASE=airline
  2. Create Python virtual environment

    python3 -m venv .venv
  3. Start virtual environment

    . .venv/bin/activate
  4. Install requirements

    pip3 install -r requirements.txt
  5. Initialize database

    flask --app airline init-db
  6. Start development server

    flask --app airline run --debug
  7. Open http://localhost:5000 in your browser

Roadmap

  • Add icons to the frontend
  • Have a form send you an email when a new user signs up
  • Add foreign currency support
  • Ask use to use their current location
  • Generate articles based on airport locations
  • Add foreign language support. Auto translate everything?
  • Add ability to login with third party services (Google, Facebook, etc.)
  • Add a reccomentation system for articles
    • Reccomend them based on their flight purchases (and search history if you want to store that)
    • Does not need to use machine learning. It can simply use keywords
    • Alternatively, you can use some NLP library

License

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

Contact

Lawrence Lim - @lawrence_lim__ - ll4715@nyu.edu.com

Project Link: https://github.com/larry-lime/airline-ticket-system

About

License:MIT License


Languages

Language:Python 50.8%Language:HTML 49.0%Language:Dockerfile 0.2%