Python FastAPI Tutorial: Build a REST API in 15 Minutes

Published: 11 September 2023
on channel: pixegami
60k
2k

Learn how to install and build your first app with FastAPI (a high-performance web framework for Python).

In this tutorial, you'll learn how to instal FastAPI, and use it to create a new app. Learn how to define routes, handle errors, use request and path parameters, validating data with Pydantic models, modelling responses, and how to use the interactive documentation.

Code:
FastAPI:

Chapters
00:00 Why Use FastAPI?
00:49 Install and Get Started with FastAPI
02:22 GET and POST Routes
05:27 Handling HTTP Errors
06:48 JSON Request and Path Parameters
10:38 Response Models
11:42 Interactive Documentation
13:31 FastAPI vs Flask


Watch video Python FastAPI Tutorial: Build a REST API in 15 Minutes online without registration, duration 15 minute 16 second in high hd quality. This video was added by user pixegami 11 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 60 thousand once and liked it 2 thousand people.