The goal of the exercise is to create a checkout system that fulfills the criteria listed below :
- Items can be added to a basket
- Items can be removed from a basket
- Promotions can be applied to a basket
- Promotions can be removed from a basket
- Basket can be checked out - a total price is calculated
- Customer’s Email, Address and Credit card details are required to check out
- Customers will have an Order after checking out which contains all the basket items
Name | Price (EUR) |
---|---|
Smart Hub | 49.99 |
Motion Sensor | 24.99 |
Wireless Camera | 99.99 |
Smoke Sensor | 19.99 |
Water Leak Sensor | 14.99 |
Name | Effect | Note |
---|---|---|
20%OFF | 20% off final cost | cannot be used in conjunction with other codes |
5%OFF | 5% off final cost | can be used in conjunction with other codes |
20EUROFF | 20 EUR off final cost | can be used in conjunction with other codes |
3 Motion sensors for 65.00 EUR
2 Smoke Sensors for 35.00 EUR
- Create a database that can support the criteria
- Create pages to accommodate functionality
- Validation of intended functionality
- Design is a plus
- Speed of delivery is important
git clone https://github.com/marko-avlijas/kodius-store.git
cd kodius-store
yarn install
bin/setup
bin/dev
rspec