A responsive and interactive shopping cart application built with React and Tailwind CSS. This project demonstrates a fully functional cart system where users can view items, adjust quantities, and see real-time pricing updates with a 10% discount applied at checkout. It also includes a confirmation modal for item removal, ensuring a seamless user experience.
Check out a live version of the project: Live Demo
Clone the repository:
git clone https://github.com/pawantech12/dynamic-ecommerce-cart.git
cd dynamic-ecommerce-cart
Install dependencies:
npm install
Run the project:
npm run dev
Build the project for production:
npm run build
+
and -
buttons to adjust quantities for each item.public/
āāā logo.png
src/
āāā components/
ā āāā Loader.jsx
ā āāā Navbar.jsx
āāā pages/
| āāā Cart.jsx
| āāā Products.jsx
āāā context/
ā āāā CartContext.jsx # Provides cart state and actions
āāā App.jsx # Entry point and main app structure
BsPlus
, BsTrash
, and HiMiniMinusSmall
.Contributions, issues, and feature requests are welcome! Feel free to fork the repository and submit pull requests for improvements.
git checkout -b my-feature
.git commit -m 'Add a new feature'
.git push origin my-feature
.For questions or collaborations, please reach out via [email protected]
Or check out more of my work on GitHub
Thanks to the developers and designers who contributed to the React, Tailwind CSS, and React Icons libraries, which made this project possible.