How to Use FastAPI: A Detailed Python Tutorial (with sqlalchemy)

Опубликовано: 18 Июнь 2026
на канале: Oren Codes
563
11

Subscribe to my Blog so you don't miss the FastAPI blog post I'll drop in a few days: https://orencodes.io

In this video, I will walk you through how to use FastAPI for beginners. I go through tools and installation, how to write your first router, use Pydantic models, integrate with a Postgresql database using SQLAlchemy, and structure your code so your colleagues won't hate you.

TIMESTAMPS
0:00 Intro
0:28 Example Working FastAPI Server
3:44 Tools and Installation
11:28 FastAPI Routers
16:53 Database Integration
28:29 Pydantic Models
32:27 API Flow and Structure
39:12 Outro

You can find the code seen in this video on my GitHub repository:
https://github.com/orencohendev/fasta...

👋 Hey, I'm Oren!
Welcome to my coding journey! 🚀 I'm a backend engineer diving deep into Python 🐍, FastAPI ⚡, Docker 🐳, and Kubernetes ☸️. Follow along as I document everything I learn and share tips, tricks, and tutorials to help you level up your coding skills! 💻

👉 If you're into backend dev, coding, or just want to learn alongside me, hit SUBSCRIBE and join the adventure! 🎯

Join my Discord Server here:
  / discord  

Keywords:
Python, Programming, Software Development, Kubernetes, FastAPI, GitHub, SQLAlchemy, Docker, Postgresql