Python FastAPI Tutorial (Part 5): Adding a Database - SQLAlchemy Models and Relationships
Transcript Preview
Hey there. How's it going everybody? In this video, we're going to be learning how to add a database to our fast API application using SQL Alchemy. So, up until now, we've been storing our posts in a Python list in memory. And that's fine for learning the basics of creating endpoints, but it's a major flaw because every time we restart our server, all of our data disappears. It resets back to the hard-coded list of posts, and that's not practical for any real application. So, in this video, we'r…
Get the Full Transcript — Free →Enter your email and we'll send the full transcript instantly. No account needed.
Want transcripts for the whole Corey Schafer channel?
Get All Corey Schafer Transcripts →