Skip to content

sachinrsmh/CodingTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodingTest

It is a project to implement test project.

It implement a Promotion Engine for a shopping kart.

Promotion Engine works based on 2 idea.

#1. N quantity for A product for fixed price. #2. A combination of different products for Fixed price.

#I have created few Interfaces to implement by concrete classes, so that future extentions are smooth.

Model folder contains calsses for Item, KartItem and Shopping Kart.

#Promotion is difefrent from Shopping Kart, Shopping Kart is different from Item. ( A different module can be developed for its mangement for CRUD operations. )

Promotion Engine is the class thkes the shopping Karft and Promotions as arguments and Apply Promotions defined in Promotion class.

#Currently No impleemntation for Customer info, which can be added as Aggregation. #Promotions can be designed Dynamically. ( Whihc can be further saved in DB and fetch as Future extension. )

Thanks

Sachin Kumar Sharma

8527137555

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages