Stop Writing This Much ORM Code (SQLModel + FastAPI)

Pubblicato il: 18 dicembre 2025
sul canale di: 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


In questa pagina del sito puoi guardare il video online Stop Writing This Much ORM Code (SQLModel + FastAPI) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code with Josh 18 dicembre 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,839 volte e gli è piaciuto 138 spettatori. Buona visione!