An e-commerce shopping cart implementation
-
A shopping cart object that holds data itself.
-
A repository layer that handles crud operations of shopping cart object.
-
A service layer that handles business logic.
-
Each layer has an interface and implemantation based on given rules.
-
Adding discounts to shopping cart.
-
Calculate dynamic delivery cost.
-
A factory that creates shopping cart with default implemantations.
-
Java 14
-
Maven 3.5.2
$ mvn clean install