1
0
Fork 0
sortable-recipes/python-api
2020-02-24 10:18:19 -06:00
..
.gitignore Removed unintentionally committed files/dirs 2019-12-24 17:42:55 -06:00
api.py Removed api caching which fixed random meal fetching 2020-02-24 10:18:19 -06:00
get-pip.py Backend 2019-12-24 16:52:05 -06:00
key_replacer.py Backend 2019-12-24 16:52:05 -06:00
README.md Added requests caching on backend to hit the meals db less 2019-12-24 17:36:00 -06:00

Python Backend for Sortable Recipes (EmberConf 2020)

Getting Started

pip3 install requests requests-cache gunicorn pycnic
gunicorn api:app

Available Endpoints:

http://localhost:8000/meals/random http://localhost:8000/meal/{meal_id}