- Docker with MongoDB and FastAPI
- Poetry as dependency manager
- Works well async (all, with db)
- Supported snake_case -> cammelCase conversion
- Env file parsed by Pydantic
- ObjectID works well with FastAPI & Pydantic (I've created custom field. Compatible with FastAPI generic docs)
- Structure with Dependency Injection (database implementation)
Build on Python: 3.8.
- Create env from template:
cp example.env .env
(only once) - Run docker stack
sudo docker-compose up
Example is completely and works very well. In the future probably I add more.
- Scheme for MongoDB
- More examples with custom response models
- [Maybe] File handling with external provider (Amazon S3, DO Spaces)
- [Maybe] Authorization by external provider (Auth0)