# flask-celery **Repository Path**: data_factory/flask-celery ## Basic Information - **Project Name**: flask-celery - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-04 - **Last Updated**: 2024-01-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Asynchronous Tasks with Flask and Celery Example of how to handle background processes with Flask, Celery, and Docker. ## Want to learn how to build this? Check out the [post](https://testdriven.io/blog/flask-and-celery/). ## Want to use this project? Spin up the containers: ```sh $ docker-compose up -d --build ``` Open your browser to [http://localhost:5004](http://localhost:5004) to view the app or to [http://localhost:5556](http://localhost:5556) to view the Flower dashboard. Trigger a new task: ```sh $ curl http://localhost:5004/tasks -H "Content-Type: application/json" --data '{"type": 0}' ``` Check the status: ```sh $ curl http://localhost:5004/tasks// ```