Open DanielCondit opened 8 years ago
@DanielCondit only thing missing is showing the sum total on your sidebar as items are added. Take a look at Ember.computed.sum
which works alot like Ember.computed.max
which has a full example in the docs.
I'm not requiring submitting orders.
Also even though not in the original requirements, please push to divshot so that I can review this easier.
Details
Deliverables
Requirements
Normal Mode
Imagine Bangkok Thai Cuisine has come to you and asked you to help them build a web presence. They don't know anything about the Internet, but they know they need a web page and a way for users to order online. They want an interactive menu that displays all of their food choices with prices, descriptions, etc. They want the customer to be able to select menu items and create an order with a total price. When the user saves the order, it should
console.log
theThey also want a way to change their menu and view orders that have been created.
Create an Ember CLI app, using the tiny-lr server or Firebase for data persistance, to create a dynamically updating menu page and back of house app. See Additional Resources below for an example online menu. For normal mode you can immediately add an item to the order instead of having a comments or asking how many should be in the order. Also for normal mode, you should be able to go to an "admin" section to CRUD menu items and view orders.
Tasks
Getting Started
Menu
console.log
the static JSON for the menu itemsconsole.log
the food model when I click on its price buttonconsole.log
the order when I click on the foods priceOrder Sidebar
console.log
the order whenever an item is added to the ordersubtotal
computed property that shows the price of all of the added itemssubtotal
for your order in your Order Component templateBack of House
Hard Mode