nsidnev/fastapi-realworld-example-app

Use pydantic's BaseSettings for configuration instead of startlette's config

robhobbes opened this issue · 1 comments

FastAPI recommends using BaseSettings for confiugration. It would be nice for this example to follow that recommendation. See https://fastapi.tiangolo.com/advanced/settings/

@robhobbes hi, sorry for long delay, I was busy.

I've used such configuration style in some of my projects and it's real convenient. Unfortunately, I don't have time to write this, but I'm ready to review PRs if someone wants to create them.

This project may be used as an example: https://github.com/mirumon/mirumon-backend