A POC design for a store checkout with custom coupon codes
java -jar coupon.jar
. Ensure products.json lies in the same directory as coupon.jar. This has been done for the sake of simplicity.
mvn install
java -jar target/coupon-0.0.1-SNAPSHOT-jar-with-dependencies.jar
from the folder containing products.json.