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
- Clone this repo:
git clone https://github.com/ingucell/cu-devs-first-project.git
- Change to the repo directory:
cd cu-devs-first-project.git
- Create a virtual envronment by running
virtualenv env && source env/bin/activate
- Install dependencies with pip:
pip install -r requirements.txt
- Run the flask application by using
python app.py
To update and populate the database run ::
flask db migrate
flask db upgrade