Skip to content

A minimal viable example for a FastAPI, Celery, and Redis backend. With frontend JavaScript which polls tasks until done.

License

Notifications You must be signed in to change notification settings

Fidget-Spinner/fastapi-celery-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 or miniconda to install required dependencies.

conda install --file requirements.txt

Usage

Run everything in main.sh in order. Then open frontend/index.html to test it out.

License

MIT

About

A minimal viable example for a FastAPI, Celery, and Redis backend. With frontend JavaScript which polls tasks until done.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published