AIRPLANE TICKETING DEMO

AIRPLANE TICKETING DEMO contains a working example of a Flask project with features:

  • 🍾 Ready to ship Flask project template
  • 🤖 Database migrations out-of-the-box (uses Alembic)
  • 🧪 Testing structure using pytest
  • 📊 login implementation with Flask- Login and Auth0
  • 🎯 ORM with FLASK_SQLAlchemy and latest version of sqlite3

Getting started

  1. Clone this repo: git clone https://github.com/ingucell/cu-devs-first-project.git
  2. Change to the repo directory: cd cu-devs-first-project.git
  3. Create a virtual envronment by running virtualenv env && source env/bin/activate
  4. Install dependencies with pip: pip install -r requirements.txt
  5. Run the flask application by using python app.py

To update and populate the database run ::

    flask db migrate
    flask db upgrade