This shopping app is built with React, TypeScript, and Material UI.
The application provides a list of products fetched from an API service.Users can add products to a shopping cart, view the cart's contents, and modify the quantity of each item in the cart. Every item's quantity can be increased or decreased as well as each item can be removed from the cart. As per the task's description, a few discount codes can be also applied for specific products. The application is fully responsive both for web and mobile devices.
Performance Optimization: The application can benefit from performance optimization techniques such as lazy loading, code splitting, and memoization to improve load times and responsiveness.
The application can benefit from more comprehensive testing, including unit tests, integration tests, and end-to-end tests.
Future improvements can include better adherence to accessibility standards to make the application more user-friendly for all users, including those with disabilities.
In the server directory, you can run:
Runs the server on http://localhost:9999
Launches the test runner in the interactive watch mode. See the section about running tests for more information.
Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
See the section about deployment for more information.