Fake APIs written by Usman Akram for Web Technologies Classes

You can use these apis to test your crud skills.

Validation is not yet implemented. use following routes to test. The data will refresh every hour. so feel free to insert as many records as you want.

Recipies API

https://usman-recipes.herokuapp.com/api/recipesGET a list of recipes
https://usman-recipes.herokuapp.com/api/recipes/:idGET a single of recipe. put the id of the record in :id
https://usman-recipes.herokuapp.com/api/recipesPOST {'title':'Title of recipe','body','description of your recipe'}Create a new Recipe
https://usman-recipes.herokuapp.com/api/recipes/:idPUT {'title':'Title of recipe','body','description of your recipe'}Update a Recipe. put the id of the record in :id
https://usman-recipes.herokuapp.com/api/recipes/:idDELETE DELETE a Recipe. put the id of the record in :id

Products API

https://usman-recipes.herokuapp.com/api/productsGET a list of products
https://usman-recipes.herokuapp.com/api/products/:idGET a single of product. put the id of the record in :id
https://usman-recipes.herokuapp.com/api/productsPOST {'name':'Product Name','price':'Product Price','color':'red','department':"kids",'description':'description of the product'}Create a new Product
https://usman-recipes.herokuapp.com/api/products/:idPUT {'name':'Product Name','price':'Product Price','color':'red','department':"kids",'description':'description of the product'}Update a Product. put the id of the record in :id
https://usman-recipes.herokuapp.com/api/products/:idDELETE DELETE a Product. put the id of the record in :id