This implementation of the standard Flask Tutorial is accomplished stepwise at each GIT commit. Further extending the tutorial, SQLAlchemy, Flask-Login, Flask-WTF, and Bootstrap v4 are all added.
The commits are as follows:
- Create .gitignore
- Add Flask application factory
- Define and Access the Database
- Add Blueprints, Views, and Templates for auth
- Add CSS styling
- Add Blueprints, Views, and Templates for blog
- Add pytest tests
- Implement SQLAlchemy
- Rrepackage auth and blog
- Implement Flask-Login
- Cleanup and have login safely redirect to next
- Implement Flask-WFT and WTForms
- Implement Bootstrap
See Deploy to Production in the Flask Tutorial.