Skip to content

This project is a simple e-commerce web application focused on practicing state management in React. It demonstrates using Context API, Redux, and Zustand to manage global state, showcasing how each can be applied to achieve efficient and scalable state management solutions.

Notifications You must be signed in to change notification settings

MOHI-UDDIN-AKBAR/state-management-in-react

Repository files navigation

CoolDeals Project

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.

Features

  • 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

Technologies Used

  • 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

Project Setup

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/MOHI-UDDIN-AKBAR/state-management-in-react.git
    cd state-management-in-react
    
  2. Install dependencies:

npm install

Or if you're using Yarn:

 yarn install

Running the Project

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.

About

This project is a simple e-commerce web application focused on practicing state management in React. It demonstrates using Context API, Redux, and Zustand to manage global state, showcasing how each can be applied to achieve efficient and scalable state management solutions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published