Build a Pizza delivery API with FastAPI #3 | Databases with SQLAlchemy

preview_player
Показать описание
Hey guys , This is part 3 of a series of videos where we are going to build a Pizza delivery API for a Pizza delivery service. This video is intended for anyone who wants to learn how to build REST APIs with FastAPI.

In this video, we look at how to create database models with SQLAlchemy. We also make use SQLAlchemy utils. A package that simplifies working with SQLAlchemy. It allows to work with some fields that are not included in SQLAlchemy.

We also setup PostgreSQL database that we are going to use to store our data.

Please like comment and subscribe to the channel.

SOURCE CODE:

GITHUB:

TWITTER:
Рекомендации по теме
Комментарии
Автор

Hey sir, I really like the everything about the videos .thanks for ur wonderful videos ...indeed I'm being moved by the explanation of fast api

kendricklamar
Автор

legit, bro done deploying my heroku django devt, solely, thanks for the guidance man. Sky is the limit man

sydney-uganda
Автор

Bro you look like you doing amazing job and all, for sure after watching this course for the pizza delivery project i will continue with your videos on django. But cmon you make me learn SQL just bcs i need the database for continuing on this API xD

gsemerdz
Автор

My friend! Thank You For your videos! I'm from Russia, you really helps me!

paren
Автор

Great video ! Can You tell me if we can use backref instead of back_populates?

mrbuslov
Автор

Nice Video. I had an error when trying to migrate all the ORM models to Postgresql using alembic because of the ChoiceType field type from sqlalchemy_utils. Is there a workaround for migrations with alembic for the ChoiceTypeField from sqlalchemy_utils ?

tamunonengiyeoforikaladapa
Автор

My tables are not created. sqlalchemy Rollback and shows :TypeError: %d format: a real number is required, not type

xavierangaleu
Автор

Thank you for the content, I have two questions: do you have a discord channel and also why did you import Order in the init_db.py file when you have only Choice and User classes. It got me confused there or are those only referring to the table names ?

adetunjiojekunle
Автор

Great serie, thank you!, i appreciate if you tell me what vdcode theme you are using…,

arturocdb
Автор

there is no lesson about testing in this course how was it with flask?

AS-fkfw
Автор

Sir please can we get in contact on any platform apart from YouTube, pls kindly give me a link for contacting. Thanks

kendricklamar
Автор

i want the database in pg admin4..please

ucvan
join shbcf.ru