Loading video player...
Connect FastAPI to a SQL database with SQLAlchemy AsyncSession and dependency injection. This is part 3 of the beginner FastOpp tutorial Country Store. The main focus on the tutorial series is Object Relational Mapper (ORM). We use SQLmodel to consolidate the Pydantic and SQLAlchemy models into a single model. FastOpp Beginner - Country Store Pt 1 - templates, models, routes - https://youtu.be/KBph8n4JjMk FastOpp Country Store Pt 2 - FastAPI static images and SQLadmin setup - https://youtu.be/NeYBDNiLpHc