minimal-fastapi-postgres-template icon indicating copy to clipboard operation
minimal-fastapi-postgres-template copied to clipboard

Celery support

Open Madi-S opened this issue 1 year ago • 2 comments

Could you embed celery into this project? Would be pretty nice to have a message broker or something in this template.

Madi-S avatar Feb 29 '24 07:02 Madi-S

Thanks for the issue.

Can you show me some example use case you are thinking about? and what (basic) functions you would like to see, I must say that going crazy with amount of code is not possible so it still stay minimal, but some support in core module with good README description could be done

Lately I started some work to migrate it from cookiecutter to github template repository (https://github.com/rafsaf/minimal-fastapi-postgres-template/tree/release-6.0 <-- here on this branch)

In general this also will have an impact on core elements in this repo like for example get rid of passlib with only bcrypt left, little project structure change, cleanup of pytest etc. etc. Migration to template has the only downside that there it will be not possible to opt out from "unwanted" code, so celery code would be common for everybody, I'm just curious of your needs.

rafsaf avatar Feb 29 '24 23:02 rafsaf

For instance, send delayed emails from a specific handler

Madi-S avatar Mar 04 '24 09:03 Madi-S