Stop Writing This Much ORM Code (SQLModel + FastAPI)

Veröffentlicht am: 18 Dezember 2025
auf dem Kanal: Code with Josh
3,839
138

👉 Get Started with Python for Free ~ https://tinyurl.com/2kjh4n4r
🧠 Join 9k+ Readers — Python Newsletter ~ https://www.thenerdnook.io

💼 Build Real Projects & Go Deeper
Full Python Masterclass → https://www.zerotoknowing.com/join-now

If you’re building APIs with FastAPI and your database code feels way more complicated than it should be, this video is for you.

In this tutorial, I walk through SQLModel by building a real CRUD API with FastAPI from the ground up. You’ll see how SQLModel lets one model handle both validation and database tables, without hiding what’s actually happening behind the scenes.

📚 Learning Resources
Get your Python eBooks ~ https://www.zerotoknowing.com/ebooks
Our Discord Community ~   / discord  
Our Facebook ~ https://tinyurl.com/msy8mnxm

Subscribe for content that helps you grow!

💥 PARTNER WITH ME - https://www.passionfroot.me/code-with...

MY FAVORITE BOOKS
🐍 Python Crash Course - https://amzn.to/3vGDXqH
🛺 Automate the boring stuff - https://amzn.to/428yoO0
💽 Data Structures and Algorithms in Python - https://amzn.to/3SkzYZL
📘 Python pocket reference - https://amzn.to/3SlK0tA

PS: Some of the links in this description are affiliate links that I get a kickback from 😜


🎬 Timestamps:
00:00 SQLModel vs SQLAlchemy: Why Database Code Feels So Heavy
00:40 Why SQLModel Exists (FastAPI + Pydantic Problem)
01:15 How SQLModel Simplifies FastAPI Database Models
02:19 Building a CRUD API with SQLModel and FastAPI
05:13 Create a FastAPI
08:18 Creating CRUD Endpoints with FastAPI
15:37 Running and testing the API
16:40 What does SQLModel Actually Get Right?
17:25 What does SQLModel Get Wrong?


🔹🔹🔹🔹🔹🔹🔹🔹🔹

🎙 PyPod Chronicles - https://thenerdnook.substack.com/podcast

🗞 LinkedIn -   / josh-wenner  

👨‍💻 GitHub - https://github.com/Joshwen7947

🔹🔹🔹🔹🔹🔹🔹🔹🔹
Tag ~ zero to knowing, code with josh

👉 If this helped, LIKE, SUBSCRIBE, and SHARE — and drop a comment with the video what you want me to scrape next.

#Python #learnpython #pythonforbeginners #pythontutorial #pythonprogramming #sql #sqlmodel #fastapi


Auf dieser Seite können Sie das Online-Video Stop Writing This Much ORM Code (SQLModel + FastAPI) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code with Josh 18 Dezember 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,839 Mal angesehen und es wurde von 138 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!