8

Advanced Features and Best Practices

Welcome to Chapter 8, where we explore advanced techniques and best practices to optimize the functionality, performance, and scalability of FastAPI applications.

In this chapter, by building a trip agency platform, you’ll delve into essential topics such as dependency injection, custom middleware, internationalization, performance optimization, rate limiting, and background task execution. By mastering these advanced features, you’ll be equipped to build robust, efficient, and high-performing APIs with FastAPI.

By the end of this chapter, you’ll have a comprehensive understanding of the advanced FastAPI features and best practices, empowering you to build efficient, scalable, and secure APIs that meet ...

Get FastAPI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.