プロジェクト
GitHubで見る
testdrivenio/fastapi-celery
概要
FastAPI、Celery、Dockerを使ってバックグラウンド処理を扱う方法を示すサンプルです。
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルAsynchronous 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>
関連プロジェクトを探す
読み込み中…