Skip to content

rachelsteiner91/Bites-and-Brews

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bites & Brews

An interactive way to discover new recipes and cocktails

User Stories:

Users will be able to...

  1. View recipes and cocktails
  2. View 5 most recent
  3. Filter / search by cuisine or ingredients
  4. View details of selected
  5. Like recipe / cocktail
  6. Comment on recipe / cocktail
  7. Submit their own recipes
  8. Be able to Favorite recipes / cocktails
  9. Be able to remove from favorites
  10. Edit in their favorites
  11. Toggle between dark and light

Stretch Goals:

  1. Show random recipe when Random button is clicked
  2. Pairing functionality to pair recipes and cocktail suggestions
  3. Dietary Restrictions
  4. Voice Search

React Tree:

Example Data:

API Routes:

API Route Request Method Body Response
/recipes GET [{...},{...},...]
/cocktails GET [{...},{...},...]
/favorites GET [{...},{...},...]
/favorites POST {name, ...} {name, description, image, source, preptime, waittime, cooktime, totaltime, servings, comments, likes, instructions, ingredients, categories}
/favorites/:id DELETE {}
/favorites/:id PATCH {name, ...} {name, description, image, source, preptime, waittime, cooktime, totaltime, servings, comments, likes, instructions, ingredients, categories}
/recipes?_sort= likes&_order=desc&_limit=5 GET [top five recipes]
/cocktails?_sort= likes&_order=desc&_limit=5 GET [top five cocktails]

Client Side Routes:

Client Route Component
/ Home.js
/recipes RecipePage.js
/recipes/:id RecipeDetails.js
/cocktails CocktailPage.js
/cocktails/:id CocktailDetails.js
/favorites FavoritesPage.js
/favorites/:id FavoritesDetails.js
/favorites/:id/edit EditForm.js
/submit SubmitPage.js

Trello:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • CSS 7.6%
  • HTML 2.4%