Build a CRUD REST API (Response Models, Validation, And Exceptions) - FastAPI Beyond CRUD (Part 3)

preview_player
Показать описание
In this video, we build a CRUD REST API using the knowledge we obtained from the previous video. CRUD stands for Create, Read, Update, and Delete. Four Operations that help us manipulate data in any application that may have a data store.

#python #fastapi #apidevelopment

SOURCE CODE:

COURSE WEBSITE:

PLEASE DONATE TO THE CHANNEL THROUGH:
BUY ME A COFFEE:

PATREON:

You can also consider Becoming a member of this channel.

FOLLOW ME:

X:

GITHUB:

Timestamps:
(00:00:00) - Introduction
(00:03:31) - Creating the API endpoints
(00:07:27) - Get all resources
(00:08:58) - Using response models
(00:13:55) - Create resources
(00:19:35) - Retrieve a resource
(00:20:32) - Raising HTTP Exception
(00:23:33) - Update a resource
(00:29:54) - Delete a resource
(00:33:50) - Conclusion
Рекомендации по теме
Комментарии
Автор

Hey guys, Hope you enjoy this video. This video makes use of an in-memory database. Do not worry. A later chapter covers a persistent datanace with an ORM in its own chapter. Kindly help me click that like button

SsaliJonathan
Автор

bro this course is the best fastapi course l have ever seen and you cover all l need l don't know how l appreciate this

MustafeAbdi-idut
Автор

Great Sir,
Very clear explanation of concepts and implementation. You have made FastAPI really easy to grab and learn for freshers.

bilalahmad
Автор

In the get_book by ID endpoint, what should be the response model? As we expect Book class as well as exception class. Is FastAPI smart enough to understand exceptions if we simply put response_model as Book

devshot
Автор

Great videos. Thank you. It is possible to donate? (You should upload this to a paid platform, it is great content).

juanchopregogundin
visit shbcf.ru