CoolDeals is a simple e-commerce web application that lets users to add a product to a shopping cart, and manage cart quantities. It leverages React, Zustand, Redux, and other modern web technologies to provide a smooth and interactive user experience.
- Add products to the shopping cart
- Update product quantities in the cart
- Remove items from the cart
- Display total price and quantity in the cart
- Responsive and user-friendly design
- React for the user interface
- CSS for styling the components
- Axios for data fetching
- TypeScript for type safety
- Context API for global state management
- Zustand for global state management
- Redux for global state management
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/MOHI-UDDIN-AKBAR/state-management-in-react.git cd state-management-in-react
-
Install dependencies:
npm install
Or if you're using Yarn:
yarn install
To start the development server, run:
npm run dev
Or if you're using Yarn:
yarn run dev
After that, open your browser and go to http://localhost:5173 to see the app in action.