# async-demo
**Repository Path**: frankygtd/async-demo
## Basic Information
- **Project Name**: async-demo
- **Description**: Set up an async pipeline in python using Celery, RabbitMQ and MongoDB. This repo covers the end to end deployment of an async pipeline for your projects using Docker
- **Primary Language**: Python
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-01-24
- **Last Updated**: 2025-01-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Asyncronous Processing pipelines in Python
Set up an async pipeline in python using Celery, RabbitMQ and MongoDB. This repo covers the end to end deployment of an async pipeline for your projects using Docker
# Quickstart
1. Clone the repo
2. Make sure Docker and Docker Compose are installed
```bash
$ pip install docker-compose
```
3. Start the docker containers
```bash
$ docker compose up --build
```
4. Check the pipeline using FastAPI endpoints
```bash
# To start processing a task
$ curl -X POST http://localhost:8080/process
# To check the progress of a task
$ curl -X POST http://localhost:8080/check_progress/
```
# Setting up your tasks
You can use this pipline to run your custom tasks. You just have to modify the [tasks.py](https://github.com/aarunjith/async-demo/blob/main/tasks.py) and connect it to a fastapi endpoint for trigger