Giter Site home page Giter Site logo

flatiron-kitchen-v-000's Introduction

Flatiron Kitchen

Deliverable

Fork this repository. Deliver your solution in master.

Instructions

Flatiron Kitchen started off as a bubble tea bar in the corner of Flatiron School and is now a five-star restaurant that's known for it's blueberry pancakes.

Things used to be simpler when there were only a few chefs at Flatiron Kitchen, but now that they're growing an application is needed to keep track of all their world-class recipes.

We need to be able to track which ingredients the restaurant has available and which ingredients are used in each recipe.

Your application should use a join table called "recipe_ingredients" to keep track of the ingredients for each recipe.

Build your site so that it passes the tests in spec/features. There aren't tests for index pages or things like page headers or links but feel free to add these (otherwise your app will be difficult to navigate).

NOTE: Before anything, note that when you generate models, controllers, etc, be sure to include this option, so that it skips tests (which are already included in the lab): --no-test-framework

NOTE: Each test has a helpful comment above it!

HINT: If you give a checkbox <input> a name attribute like:

  ninja_turtle_colors[]

each ninja turtle color will be passed to the params object in an array!

  {
    ninja_turtle_colors: ["red", "blue", "orange", "purple"]
  }

Bonuses!

Keep track of the quantity of ingredients currently on hand. Display on each recipe page how many dishes can be made given the existing ingredients.

Write rspec unit tests to verify your ingredients-to-dishes calculator.

Resources

View Flatiron Kitchen on Learn.co and start learning to code for free.

flatiron-kitchen-v-000's People

Contributors

sarogers avatar irmiller22 avatar kthffmn avatar ahimmelstoss avatar annjohn avatar fs-lms-test-bot avatar bhollan avatar deniznida avatar fislabstest avatar ipc103 avatar ldgarber avatar

Watchers

James Cloos avatar  avatar

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.