Thank you for taking part in this coding challenge. For this challenge, you will be given an unfinished React application that you have to improve and enhance.
To install the project and get it started, you have to perform the following steps:
- Fork this repository
- Run
npm install
in the repository folder to install the dependencies - Run
npm start
to start the app in the development mode
Figma File : File
API documentation : Documentation
- Show the global counter on the items page
- Add card validation on the Checkout form:
- Must be a valid card number
- Must be Visa / Master card type
- Must be a valid expiration date
- Must be a valid CVV
- Display the cart items on the checkout page
- Complete the API integration:
- Call the web service for payment submission
- Match the UI for the Checkout item:
- Display the icon (Visa/Master) based on card number input
Complete the challenge by committing your changes and pushing them to your forked repository. Of course you are always free to commit and push in between.
Good luck & have fun!!