{"id":21130409,"url":"https://github.com/akileshjayakumar/my-fastapi-app","last_synced_at":"2026-04-13T17:05:08.576Z","repository":{"id":241030016,"uuid":"804117281","full_name":"akileshjayakumar/My-FastAPI-App","owner":"akileshjayakumar","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-14T11:04:27.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T17:11:21.623Z","etag":null,"topics":["docker","fastapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akileshjayakumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-22T01:44:57.000Z","updated_at":"2024-10-19T12:07:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f31b7fb-c605-4698-a7f6-6ee39211fbcd","html_url":"https://github.com/akileshjayakumar/My-FastAPI-App","commit_stats":null,"previous_names":["akileshjayakumar/simple-fastapi-app","akileshjayakumar/my-fastapi-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akileshjayakumar%2FMy-FastAPI-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akileshjayakumar%2FMy-FastAPI-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akileshjayakumar%2FMy-FastAPI-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akileshjayakumar%2FMy-FastAPI-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akileshjayakumar","download_url":"https://codeload.github.com/akileshjayakumar/My-FastAPI-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243573495,"owners_count":20312883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","fastapi","python"],"created_at":"2024-11-20T05:33:10.739Z","updated_at":"2025-12-29T17:16:18.166Z","avatar_url":"https://github.com/akileshjayakumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI App with Celery, RabbitMQ, Flower, and Docker\n\n## Tech Stack\n\n- **[FastAPI](https://fastapi.tiangolo.com/)**\n- **[Celery](https://docs.celeryq.dev/en/stable/)**\n- **[RabbitMQ](https://www.rabbitmq.com/documentation.html)**\n- **[Flower](https://flower.readthedocs.io/en/latest/)**\n- **[Docker](https://www.docker.com/)**\n\n## Project Structure\n\n```\nmy-fastapi-app/\n├── app/\n│   ├── __init__.py\n│   ├── main.py\n│   └── tasks.py\n├── docker-compose.yml\n├── Dockerfile\n├── requirements.txt\n├── README.md\n└── diagram.png\n```\n\n## Setup\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/akileshjayakumar/my-fastapi-app\n   cd my-fastapi-app\n   ```\n\n2. **Build and Start Containers**\n\n   ```bash\n   docker compose up --build\n   ```\n\n## Usage\n\n1. **Access FastAPI Documentation**\n\n   Open [http://localhost:8000/docs](http://localhost:8000/docs) in your browser to explore the interactive API docs.\n\n2. **Submit a Task**\n\n   - **Via Browser or Postman**:\n     - **Endpoint**: `POST http://localhost:8000/add/{a}/{b}`\n     - **Example**: `POST http://localhost:8000/add/3/4`\n\n3. **Check Task Status**\n\n   - **Via Browser or Postman**:\n     - **Endpoint**: `GET http://localhost:8000/result/{task_id}`\n     - **Example**: `GET http://localhost:8000/result/\u003ctask_id\u003e`\n\n4. **Monitor Tasks with Flower UI**\n\n   Open [http://localhost:5555](http://localhost:5555) in your browser to view real-time monitoring of Celery tasks.\n\n## Architecture Diagram\n\n![Architecture Diagram](diagram.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakileshjayakumar%2Fmy-fastapi-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakileshjayakumar%2Fmy-fastapi-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakileshjayakumar%2Fmy-fastapi-app/lists"}