FastAPI and Beanie: A Simple Guide to Building RESTful APIs with MongoDB fully async
- Python 3.7 or higher
- Poetry
- MongoDB
- Basic knowledge of FastAPI and MongoDB
# example
export MONGO_URI="mongodb://localhost:27017"
- make sure that mongodb is running
poetry run python main.py