Перейти к содержимому

FastAPI Made Simple: From Zero to Hero

Demos Petsas

0:00 / 0:00

FastAPI Made Simple: From Zero to Hero

1 778 просмотров · 3 года назад
Demos Petsas
1,04 тыс. подписчиков
1 778 просмотров · 3 года назад
This FastAPU crash course shows you how to use FastAPI from beginning to end. In this course we cover simple routes, APIRouters, dependency injection, data validation and serialization using pydantic models as well as request filtering and API documentation using Swagger UI. Chapters: 0:00 Introduction 1:34 Create app instance and run server 3:42 Creating a simple route 4:53 Creating an APIRouter 6.38 Pydantic Models 9:34 Create a user list 11:40 Fetch all users 13:38 Create a user 19:14 Dependency Injection 21:52 Updating a user 29:11 Deleting a user 33:25 Fetching a single user 36:52 Filtering users with Query parameters 43:27 Data validation Code: https://github.com/demoskp/fastapi-cr... Personal website: http://www.petsas.consulting