Book Image

Mastering REST APIs with FastAPI [Video]

By : Jose Salvatierra Fuentes
4.5 (2)
Book Image

Mastering REST APIs with FastAPI [Video]

4.5 (2)
By: Jose Salvatierra Fuentes

Overview of this book

This course offers a detailed exploration of FastAPI, a cutting-edge Python framework for API development. The course starts with basic API and REST principles, quickly advancing to practical application for a thorough understanding of both theory and practice. The curriculum progresses logically, starting with the basics of FastAPI, including app setup, API routing, linting, and formatting. Participants will create a social media API, manage post and comments, and learn code organization with APIRouter, followed by practical testing experience using pytest. A significant portion of the course focuses on asynchronous databases, vital for scalable application development. It covers database setup, connection, and integration within FastAPI. The course also delves into Python logging techniques, crucial for debugging and monitoring FastAPI applications. It also covers user authentication, an essential element in modern web apps. It includes practical training on JWTs, password hashing, authentication management, and database user relationships, alongside addressing many-to-many database relationships and user email confirmation strategies. In later stages, the course addresses advanced topics like file uploads, background image generation tasks, and deployment methodologies, including continuous integration with GitHub Actions.
Table of Contents (11 chapters)
Free Chapter
1
Course Introduction
Chapter 10
Background Tasks for Image Generation
Content Locked
Section 4
Executing image generation in our FastAPI endpoint
Implement image generation within your FastAPI endpoint, integrating this feature seamlessly into your app.