This is code from following along with the Building data-driven web apps with Flask and SQLAlchemy course from Talk Python Training.
Here is the parent GitHub repo for the course.
The master branch contains code which uses SQLAlchemy and
SQLite for a traditional relational database backend along with
Alembic for database migrations.
The mongo-db branch contains code which uses MongoEngine and
MongoDB for a NoSQL Document DB approach.