FastAPI and MongoDB

Learn how to create a FastAPI application and connect it to a MongoDB database.

FastAPI and MongoDB

Learning Byte Overview

In this Learning Byte, a MongoDB expert will walk you through how to create a FastAPI application and connect it to a MongoDB database. You will first learn what FastAPI is and why you would use it alongside MongoDB. Then, you learn all the steps for installation and setup of FastAPI. Connecting your FastAPI application to a MongoDB database will then be demonstrated in a live environment. In the same environment, you will see how to commit CRUD operations with the newly created and connected FastAPI application. Finally, you will discover where to learn more.

Chapters in this Learning Byte

  • Chapter 1: What is FastAPI?

  • Chapter 2: Tutorial: Setup and Installation

  • Chapter 3: Tutorial: Connecting Your App to a MongoDB Database

  • Chapter 4: Tutorial: Performing CRUD Operations

  • Chapter 5: Learn More