Shopping checkout page built using React-hooks
To use,
-
Clone the repo,
-
To install all the dependencies run script 'npm install' (Ensure node is installed - if beginner)
-
To start the application run script 'npm start'
Note: a) Sample Product list are stubbed which can be replaced with any api call.
b) This checkout page also handles discount calculation based on the promotion code; sample promotion codes along with its criteria has been stubbed as well.
c) These stubs are available in public > fixtures folder.