abstracting-fastapi-services
abstracting-fastapi-services copied to clipboard
FastAPI application and service structure for a more maintainable codebase – See full article
I assume it's nicer to have the **./exceptions/** directory and put each service exception module containing relevant error data. And if you were to add a new service called `Bar`:...
@visini , Loved the article accompanying this repository, Do you have a sample project either that you compiled or have referred to that follows this approach. I am trying to...
Hello there! I'm using MacBook M1 with cURL: 7.77.0, and without explicitly adding the json header, the server rejects the request with the following error message: `{"detail":[{"loc":["body"],"msg":"value is not a...
https://github.com/visini/abstracting-fastapi-services/blob/adacaba43609a0f46d1baf315d0288ae1a6c3d33/app/utils/service_result.py#L41
uvicorn is missing from pyproject