filmov
tv
FastAPI Python framework - SQLAlchemy and Database integration

Показать описание
This video explains the steps involved in adding a SQLite database to your FastAPI application, and walks through the process of adding SQLAlchemy models and a FastAPI Dependency to allow your FastAPI routes to interact with the database.
A FastAPI startup event is also demonstrated, in order to load dummy data into the database.
Finally, we show how to paginate data with SQLAlchemy, and integrate this with our HTMX-based frontend.
▶️ Full Playlist:
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
02:28 Database setup with SQLAlchemy
04:18 Creating SQLAlchemy model
06:06 Creating the database tables
08:44 Creating FastAPI database dependency
11:00 Querying database with SQLAlchemy
11:55 FastAPI startup events
15:24 Paginating SQLAlchemy records
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
#fastapi #python #sqlalchemy
A FastAPI startup event is also demonstrated, in order to load dummy data into the database.
Finally, we show how to paginate data with SQLAlchemy, and integrate this with our HTMX-based frontend.
▶️ Full Playlist:
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
02:28 Database setup with SQLAlchemy
04:18 Creating SQLAlchemy model
06:06 Creating the database tables
08:44 Creating FastAPI database dependency
11:00 Querying database with SQLAlchemy
11:55 FastAPI startup events
15:24 Paginating SQLAlchemy records
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
#fastapi #python #sqlalchemy
FastAPI Python framework - SQLAlchemy and Database integration
FastAPI MySQL REST API in Python | CRUD Operations | Swagger | SQLAlchemy
How to Use Async SQLAlchemy in FastAPI
FastAPI - A python framework | Full Course
Fast API Crash Course Code-along | Build an app with Postgres, SQL Alchemy, Async, and more
How to Use FastAPI: A Detailed Python Tutorial
FastAPI Tutorial - Building RESTful APIs with Python
Python FastAPI Tutorial: How to Connect FastAPI to Database
SQLAlchemy Turns Python Objects Into Database Entries
I built the same app 3 times | Which Python Framework is best? Django vs Flask vs FastAPI
Connecting FastAPI to Database with SQLAlchemy ORM | FastAPI CRUD | API series #5 | eSeekho
How to build a FastAPI app with MySQL database (step by step guide)
Mastering API Testing with FastAPI: Databases, Dependencies, and More!
How FastAPI Handles Requests Behind the Scenes
How To Create Your Very First API With FastAPI In Python Tutorial 2023
FastAPI (Python Framework) - Auto-Generating Migrations with Alembic & SQLAlchemy
Building a REST API with FastAPI, Async SQLAlchemy, and PostgreSQL
Create A REST API with FastAPI, SQLAlchemy and PostgreSQL.
FastAPI and SQLAlchemy with Asyncio
How to build a FastAPI app with PostgreSQL
FastAPI Course for Beginners
Python API Development - Comprehensive Course for Beginners
FastAPI - Build your first API with Python's Fastest API Web Framework!
FastAPI and PostgreSQL | Database connectivity in Python -Fastapi | SQLalchemy | Migrations
Комментарии