Skip to content

callumboddy/TinyShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyShop

Screenshot

Tests

Alt Text

Code coverage is @ ~80% with 26 unit tests in total, I focuesed on the unit testing the model. I would have liked to added more tests especially with mocked responses for the currency converter.

If you would like me to add UI Tests I would be happy to do so.

User Experience & Interface

Hiding Basket

Alt Text

The basket is hidden until at least 1 item is added to it, it then automatically resigns when empty.

  • animates in when needed.
  • displays the total number of items in the basket.
  • displays the total price of the basket in the currently selected currency.
  • It will live update as you change the currency.
  • It supports pluarlisation between 1 item & multiple items.

Quantity Toggles

if no items of that product are in the basket, the "add to basket" button is visible, once at least one quanitiy of that product has been added to the basket, the cell updates to display a quantity toggle.

  • There is no upper limit on this value.

Currency Selector

Alt Text

  • currency can be changed by selecting button.
  • displays as action sheet (could possibley change if more currencies were supported).
  • if API is unreachable for any reason then an alert will be displayed.

Architecure & Code Style

I would be happy to go into more detail on this

About

Technical Showcase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages