Loading video player...
Hey all! In this video, you will learn how to get started with building a basic backend API via FastAPI framework. It is a performant Python framework designed with type safety in mind. Source code: https://github.com/HussainArif12/fast-api-tutorial Here's what we'll do today: - Installing the FastAPI dependency - Seeing how FastAPI builds the /docs page - Query and Path parameters - Why order matters when building routes - Typesafety - Supporting JSON bodies for POST requests Thanks for watching! Timestamps: 0:00 Intro 0:53 Building project 1:55 Building an endpoint 2:59 Running the app 3:23 Documentation page 3:42 Path parameters 4:58 Type safety 5:18 Routing order 6:41 Enumerations 8:54 Query parameters 11:10 Optional query params 13:27 Cleanup 14:55 JSON request body 16:07 Mixing query and path parameters 17:22 Adding JSON body to the mix 19:18 Outro