Summary
In this chapter, you learned the basics of Beanie, a popular ODM library for MongoDB, built on top of Motor and Pydantic. You learned how to define models and define Beanie documents that map to MongoDB collections and how to query and perform CRUD operations with the ODM.
You built another FastAPI application in which you integrated third-party services with the help of background tasks, which is a FastAPI feature that allows slow- and long-running tasks to be executed in the background, while maintaining the app’s responsiveness.
This chapter also covered integrating the most popular AI service, ChatGPT, into your applications, providing intelligent additional data about your newly inserted entities. Finally, you learned how to implement a simple email-sending solution, which is common in many web applications.
In the next chapter, you will dive into the most popular and advanced web framework based on React.js: Next.js. You will learn the basics of the latest...