https://github.com/wpcodevo/crud-app-pymongo
In this article, you'll learn how to build a CRUD application with FastAPI, PyMongo, and a MongoDB database. You'll have a full-fledged REST API that can accept CRUD (Create, Read, Update, and Delete) requests from an API testing tool or a frontend application.
https://github.com/wpcodevo/crud-app-pymongo
crud-api crud-app fastapi fastapi-app fastapi-crud-app fastapi-restful-api python-crud-app restful restful-api
Last synced: 3 months ago
JSON representation
In this article, you'll learn how to build a CRUD application with FastAPI, PyMongo, and a MongoDB database. You'll have a full-fledged REST API that can accept CRUD (Create, Read, Update, and Delete) requests from an API testing tool or a frontend application.
- Host: GitHub
- URL: https://github.com/wpcodevo/crud-app-pymongo
- Owner: wpcodevo
- Created: 2022-11-08T11:09:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T15:37:43.000Z (over 2 years ago)
- Last Synced: 2025-01-26T03:41:25.362Z (5 months ago)
- Topics: crud-api, crud-app, fastapi, fastapi-app, fastapi-crud-app, fastapi-restful-api, python-crud-app, restful, restful-api
- Language: Python
- Homepage: https://codevoweb.com/build-a-crud-app-with-fastapi-and-pymongo
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build a CRUD App with FastAPI and PyMongo
In this article, you'll learn how to build a CRUD application with FastAPI, PyMongo, and a MongoDB database. You'll have a full-fledged REST API that can accept CRUD (Create, Read, Update, and Delete) requests from an API testing tool or a frontend application.

## Topics Covered
- Run the FastAPI CRUD App Locally
- Run the Frontend App Locally
- Setup FastAPI with PyMongo
- Setup MongoDB With Docker
- Install FastAPI and Start the HTTP Server
- Designing the App
- Connect the FastAPI App to MongoDB
- Create the Request Validation Schemas
- Create Database Serializers
- Create the Path Operation Functions
- Retrieve all Documents
- Create a Document
- Update a Document
- Get a Document
- Delete a Document
- Complete Path Operation Functions
- Register the Router in the FastAPI AppRead the entire article here: [https://codevoweb.com/build-a-crud-app-with-fastapi-and-pymongo](https://codevoweb.com/build-a-crud-app-with-fastapi-and-pymongo)