Skip to content

Sample application built with React.js and other libraries.

Notifications You must be signed in to change notification settings

rarguelloF/react-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React training

Demo

demo

Application

We will build the application shown as shown above.

The mock is located here.

Algorithms discounts:

  • When a main dish, a drink and a dessert are present in the shopping cart, they should be grouped and conform a menu. If there are multiple choices to create the menu, it has to be created with the cheaper products. Menus have 20% discount.
    • Products measured by units should conform different menus. If the product is measured by weight, it should stay within the same menu.
  • From the remaining products, a 3x2 discount can be applied for products measured by units.
  • The remaining products doesn't have any discount.
  • The priority when applying discounts is: menu > 3x2. Discounts cannot be stacked.

Development setup

Besides these requirements, I also recommend the following (optional):

What we will cover on this workshop:

Workshop script

TODO

About

Sample application built with React.js and other libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published