/flask-tdd

Learning the ways of tdd

Primary LanguagePython

Flask App built via TDD

This is a repo after following the TDD Flaskr tutorial available here

Running Tests:

python -m pytest

Run the flask server:

FLASK_APP=project/app.py python -m flask run

Initializing DB

from inside python shell

from project.app import init_db
init_db()

In the end I chose not to finish this tutorial because using pure boostrap and deploying via a managed postrgres didn't excite me.