Projects
View on GitHub
testdrivenio/fastapi-celery
About
An example of how to handle background processes with FastAPI, Celery, and Docker.
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAsynchronous Tasks with FastAPI and Celery
Example of how to handle background processes with FastAPI, Celery, and Docker.
Want to learn how to build this?
Check out the post.
Want to use this project?
Spin up the containers:
$ docker-compose up -d --build
Open your browser to http://localhost:8004 to view the app or to http://localhost:5556 to view the Flower dashboard.
Trigger a new task:
$ curl http://localhost:8004/tasks -H "Content-Type: application/json" --data '{"type": 0}'
Check the status:
$ curl http://localhost:8004/tasks/<TASK_ID>
Explore related projects
Loading…