7
Integrating FastAPI with NoSQL Databases
In this chapter, we will explore the integration of FastAPI with NoSQL databases. By crafting the backend of a music streaming platform application, you will learn how to set up and use MongoDB, a popular NoSQL database, with FastAPI.
You will also learn how to perform create, read, update and delete (CRUD) operations, work with indexes for performance optimization, and handle relationships in NoSQL databases. Additionally, you will learn how to integrate FastAPI with Elasticsearch for powerful search capabilities, secure sensitive data, and implement caching using Redis.
By the end of this chapter, you will have a solid understanding of how to effectively use NoSQL databases with FastAPI to improve ...
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.