Skip to content

zwsaile/whats-cookin-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whats-cookin-api

This repo was created to be used with the whats cookin project.

Set Up

Clone this down, and cd into it. Then run:

npm install

npm start

Endpoints

Description URL Method Required Properties for Request Sample Successful Response
Get all users http://localhost:3001/api/v1/users GET none An array containing all users
Get all ingredients http://localhost:3001/api/v1/ingredients GET none An array containing all ingredients
Get all recipes http://localhost:3001/api/v1/recipes GET none An array containing all recipes
Add/Remove Ingredients from a pantry http://localhost:3001/api/v1/users POST { userID: <number>, ingredientID: <number>, ingredientModification: <number> } {message: '"User # <userID> has 7 units of item # <ingredientID>"' }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%