Learn how to recreate this popular Flask Extension yourself with just a few lines of code

Have you ever wondered how the Flask-SQLAlchemy extension works under the hood? How hard would it be to set up SQLAlchemy yourself? Today we’re going to dive deep into how to set up the SQLAlchemy ORM for use with a Flask app. At the end you’ll have your very own version of Flask-SQLAlchemy to use!

The purpose of SQLAlchemy is to provide a means for your Flask app to communicate with a database. While the Flask and SQLAlchemy documentation certainly got my head spinning…

Kelly Foulk

Self-taught programmer who loves to teach others about backend web development, data analytics and python. Ask me about the Recurse Center.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store