Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fidget-spinner/fastapi-celery-redis
A minimal viable example for a FastAPI, Celery, and Redis backend. With frontend JavaScript which polls tasks until done.
https://github.com/fidget-spinner/fastapi-celery-redis
celery fastapi polling redis redis-py
Last synced: 5 days ago
JSON representation
A minimal viable example for a FastAPI, Celery, and Redis backend. With frontend JavaScript which polls tasks until done.
- Host: GitHub
- URL: https://github.com/fidget-spinner/fastapi-celery-redis
- Owner: Fidget-Spinner
- License: mit
- Created: 2020-12-02T08:56:07.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T05:44:38.000Z (about 4 years ago)
- Last Synced: 2024-12-27T09:05:29.559Z (15 days ago)
- Topics: celery, fastapi, polling, redis, redis-py
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastapi-celery-redis
A minimum viable example for a web application using FastAPI, Celery
(using redis broker/results backend). It demonstrates concepts like polling
the state/progress of a task, and configuring Celery. It also shows how to run
as basic async task.## Installation
Use the package manager [conda](https://docs.conda.io/en/latest/) or
[miniconda](https://docs.conda.io/en/latest/miniconda.html) to install
required dependencies.```bash
conda install --file requirements.txt
```## Usage
Run everything in `main.sh` in order. Then open `frontend/index.html` to test
it out.## License
[MIT](https://choosealicense.com/licenses/mit/)