Skip to content

timoinstana/shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop

This is a non-working sample shop for code review.

The scenario is that we run a webshop. In this webshop users can put products in their shopping cart and remove them if they don't want to buy it. Users should be able to only put products in the shopping cart if they are in stock.

We serve multiple users at the same time. For performance reasons we have a ProductInventoryCache which is filled initially from a database. The ProductInventoryCache holds the product as key and the available amount in stock as value.

In the review we focus only on the Product and ProductInventoryCache classes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages