{"repo":"GregaVrbancic/fastapi-celery","free":true,"listed":false,"github":"https://github.com/GregaVrbancic/fastapi-celery","clone":"git clone https://github.com/GregaVrbancic/fastapi-celery.git","description":"Minimal example utilizing fastapi and celery with RabbitMQ for task queue, Redis for celery backend and flower for monitoring the celery tasks.","language":"Python","stars":665,"topics":["fastapi","celery","flower","redis","rabbitmq","docker-compose","python"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"FastAPI with Celery Minimal example utilizing FastAPI and Celery with RabbitMQ for task queue, Redis for Celery backend and flower for monitoring the Celery tasks. Requirements - Docker - docker-compose Run example 1. Run command to start up the RabbitMQ, Redis, flower and our application/worker instances. 2. Navigate to the http://localhost:8000/docs and execute test API call. You can monitor the execution of the celery tasks in the console logs or navigate to the flower monitoring app at http://localhost:5555 (username: user, password: test). Run application/worker without Docker? Requirements/dependencies - Python = 3.7 - poetry - RabbitMQ instance - Redis instance The RabbitMQ, Redis and flower services can be started with Install dependencies Execute the following command: Run FastAPI app and Celery worker app 1. Start the FastAPI web application with . 2. Start the celery worker with command 3. Navigate to the http://localhost:8000/docs and execute test API call. You can monitor the execution of the celery tasks in the console logs or navigate to the flower monitoring app at http://localhost:5555 (username: user, password: test).","default_branch":null,"files":null,"tree":[],"storefront":"/r/GregaVrbancic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GregaVrbancic/fastapi-celery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}