Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

recipes-app

Wildhoney14MIT0.1.5

Base Python API for a series of on-going "Learn" projects in various front-end frameworks.

readme

Learn Recipes

Base Python API for a series of on-going recipe learning projects in various front-end frameworks.

Flavours

API Endpoints

Read:

curl -i http://localhost:5000/recipes
     -X GET

Create:

curl -i http://localhost:5000/recipes
     -X POST
     -H "Content-Type: application/json"
     -d '{"name":"Banana Cake","description":"Delectable banana cake!","ingredients":["Banana","Flour"]}'

Delete:

Assume that 123456789 is the model's primary key in MongoDB.

curl -i http://localhost:5000/recipes/123456789
     -X DELETE