Skip to content

wonkatin/project2

Repository files navigation

Kitchen Sink

Description

Kitchen Sink is an app designed to allow users to search for recipes using specific ingredients, based on dietary restrictions and other personal preferences. Users can save recipes they have tried and leave reviews with ratings and comments. Recpies that users have reviewed appear on the homepage for other users to peruse and try. Ideally, users would also be able to mark their favorites, save recipes for later, and store their pantry/grocery list in their profile, along with their own preferences.

MVP Goals

  • Create a profile
  • Search for recipes
  • Save recipes
  • Leave a review on a recipe
  • View and/or add recipes other users have tried

Stretch Goals

  • Allow users to limit search results based on the number of ingredients in the ingredient list, to target even more specific recipes
  • Allow users to search based on dietary restrictions and other preferences
  • Allow users to favorite and bookmark recipes
  • Allow users to store their grocery/pantry list in their profile, with ability to add items to search query from this list
  • Alert users when items in pantry list need to be used based on expiration/shelf life
  • Users can auto-populate pantry list based on bar-codes and pictures of reciepts

User Stories

  • As a user, I want to be able to search for recipes that include specific ingredients and preferences
  • As a user, I want to be able to create a profile
  • As a user, I want to save and review recipes that I have tried
  • As a user, I want to be able to see other users' reviews of recipes

APIs

I plan to use the Edamam Recipe API for MVP and the Shelf Life API for Stretch Goals.

Daily Sprints

Monday:

  • test API
  • write readme
  • wireframe app
  • plan database ERD
  • plan routes

Tuesday:

  • create db models -- test db
  • stub routes -- test routes
  • build routes

Wednesday:

  • finish routes
  • create views

Thursday:

  • finish views
  • mvp

Friday:

  • debug refactor
  • style views

Saturday:

  • style views
  • stretch goals

Sunday:

  • stretch goals

Wireframes

Homepage ( / )

WIREFRAME0

Homepage while signed in ( / )

WIREFRAME0

Homepage with Search ( /results )

WIREFRAME1

Homepage with Search while signed in ( /results )

WIREFRAME2

User Sign up (/users/new)

WIREFRAME3

User Login (/users/login)

WIREFRAME4

Profile View (/users/profile)

WIREFRAME5

Recipe Details View (/recipes/:id)

WIREFRAME7

Database ERDs

ERD

RESTful routing chart

Method URL Functionality View
GET / view home page show all db recipes renders index.ejs
GET /users/new display signup page renders users/new.ejs
POST /users/new create new user redirects to index.ejs
GET /users/login display login page renders users/login.ejs
POST /users/login log in as user redirects to index.ejs
GET /users/profile show user's profile renders users/profile.ejs
GET /users/logout log the user out and clear cookie redirects to index.ejs
GET /recipes/results show search results renders recipes/results.ejs
GET /recipes/detail show recipe details renders recipes/detail.ejs
POST /recipes save recipe to user's profile redirects to users/profile.ejs
DELETE /recipes/:id delete recipe from user's profile redirects to users/profile.ejs
POST /reviews create review renders recipes/detail.ejs
PUT /reviews/:id update review renders recipes/detail.ejs
DELETE /reviews/:id delete review renders recipes/detail.ejs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published