MENU

Fun & Interesting

SQLModel + FastAPI: Say Goodbye to Repetitive Database Code

ArjanCodes 63,239 5 months ago
Video Not Working? Fix It Now

💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. When you develop an API, you might feel like you’re writing a lot of boilerplate code: routes, database schemas, the API interface, and so on. In this video, I’ll show you how to drastically reduce that boilerplate with SQLModel and FastAPI. 🔥 GitHub Repository: https://git.arjan.codes/2024/sqlmodel 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 🔖 Chapters: 0:00 Intro 0:30 SQLAlchemy Overview and Limitations 5:41 SQLModel Basics 12:23 Advanced Example with Relationships 15:46 Additional SQLModel Features 16:24 When to Use SQLModel and When to Stick with SQLAlchemy 17:18 One caveat with SQLModel 19:06 Outro #arjancodes #softwaredesign #python

Comment