Skip to content

Example of how to handle background processes with Falcon, Celery, and Docker

License

Notifications You must be signed in to change notification settings

testdrivenio/falcon-celery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falcon + Celery

Example of how to handle background processes with Falcon, Celery, and Docker

Quick Start

Spin up the containers:

$ docker-compose up -d

Open your browser to http://localhost:8000/ping to view the app or to http://localhost:5555 to view the Flower dashboard.

Trigger a new task:

$ curl -X POST http://localhost:8000/create \
    -d '{"number":"3"}' \
    -H "Content-Type: application/json"

Check the status:

$ curl http://localhost:8000/status/<ADD_TASK_ID>

Want to learn how to build this?

Check out the post.

About

Example of how to handle background processes with Falcon, Celery, and Docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published