Giter Club home page Giter Club logo

whats-cookin's People

Contributors

cbmackintosh avatar hannahhch avatar itsnameissteven avatar kalikoze avatar khalidwilliams avatar

whats-cookin's Issues

Recipe class

  • Should bring in all information from a recipe object.

    • Unique id
    • image of food 'http string'
    • ingredients
      • id
      • quantity
        • amount
        • unit
    • instructions
      • instruction string
      • step number
    • name
    • tag [array of strings]
  • should have methods:

    • determine the name of ingredients needed
    • get the cost of its ingredients
      • return the cost of ingredient * units needed???
      • how to know what the cost is per unit?(how much ingredient are you getting for the cost?)
    • return its directions/ instructions

Create helper test file

This file will contain the data that we will need to pull into the test suites

  • Should have multiple recipes
  • Should have multiple users
  • Should have multiple ingredients

Create responsive design

  • Web design should respond to the size of screen on the computer.

  • Design for cellphones should be considered as well

  • hamburger icon with smaller screen.

  • search icon on nave bar to drop down search

My favorite recipes

  • user should be able to save recipes
  • a page should display to show favorite recipes
  • a user should be able to remove recipes

DTR

Create a DTR with the following:

  • Learning goals
  • Schedules
  • Expectations

Recipe class test

  • Test all properties

    • Unique ID
    • Corresponding image link
    • Array of ingredients{}
      • id
      • quantity {}
        • amount
        • unit
    • array of instructions{}
      • instruction
      • corresponding step number
    • name
    • tags
  • Should test methods

    • Determine the names of ingredients needed
    • get the cost or ingredients
    • return the directions
  • Test any changing properties

User Class test

  • Properties

    • Should a Unique ID (number)
    • Should have a name (String)
    • Should have pantry (array or objects with ingredient id and amount)
  • Methods

    • Should be able to add recipesToCook (save recipes to cook later)
    • filter Favorite recipes by one or more tags
    • filter Favorite recipes by its name or ingredients

Design Inspirations

  • NYT
    A few things that I like about this design:

    • carousel recipes/images
    • box shadow on hover
    • increased picture size (slow transition )
  • Design from Dribble

    • Carousel of recipe images, titles (DOM objects)
    • Includes time, portion size
    • Seems to fit generally well for the project, easy to make additions to design.
  • [recipe cards] (https://dribbble.com/shots/13869707-Perfectly-Grilled-Steak/attachments/5477225?mode=media)

    • Good design for individual recipe cards, or even a list of saved recipe cards
    • Includes sections for ingredients and instructions, which fits in with our intended data model
    • Provides suggestions for other dishes to pair with it? Might be a feature to add...

Recipe repository tests

  • Should have a property that takes in recipe data and stores in an array (may be instances of Recipe
  • Methods.
    • Filter based on one or more tags
    • Filter based on its name or ingredients

Build out html and css

Basic structure should provide you with the ability to test class methods. Use script.js to manipulate the DOM

  • Should have an area to view the recipes.
  • Should have an area to view recipe details.
  • Should have an input box.

Write script to manipulate DOM

All DOM manipulation will happen in this file.

  • Should be able to view a list of all recipes (carousel??? or list???)
    • iterate through the recipe repository
    • Each recipe will have name
    • Each recipe will have image
  • Should be able to click on the recipe for more information
    • View directions
    • View ingredients needed
    • View Total Cost
  • Should have a search bar
    • Search by tags
    • Search by name
    • Search by ingredients

Recipe Card Instructions

Card is too small to fit data

  • expand card size
  • header, directions and ingredients should have dedicated space
  • button shouldn't move
  • instruction card should be taller
  • text should be consisted
  • ingredients need to be spaced out more
  • button shouldn't move

RecipeRepository class

  • Should have a parameter to take in recipe data (array)
  • Methods
    • Filtered list of recipes based on one or more tags
    • Filter list of recipes based on its name or ingredients

Recipe card bug

Alignment issues between different text

  • text align right
  • button needs to be changed
  • button and cost to be fixed to the bottom of the box

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.