This is a simple e-commerce application built with React and Redux Toolkit. The project demonstrates the basic functionalities of an online store, including product listing, shopping cart management, and state persistence.
Features • Product Listing: Browse a list of products with details such as name, price, and description.
• Shopping Cart: Add products to the cart, increment/decrement product quantities, and remove products from the cart.
• State Management: Utilizes Redux Toolkit for efficient state management.
• State Persistence: Uses redux-persist to save the cart state in local storage, ensuring the cart contents are preserved across sessions.
• Notifications: Implements alertifyjs for user notifications on cart actions.
Technologies Used • React: A JavaScript library for building user interfaces.
• Redux Toolkit: The official, opinionated toolset for efficient Redux development.
• redux-persist: A library to persist and rehydrate a Redux store.
• alertifyjs: A JavaScript library for displaying notifications.
Getting Started To get a local copy up and running, follow these simple steps.
Prerequisites • Node.js and npm installed on your machine.
Live Demo: https://react-eshopz.vercel.app/
Installation Clone the repo:
git clone https://github.com/ashkangl/react-eshopz.git
Navigate to the project directory:
cd reshopz
Install dependencies:
npm install
Start the development server:
npm start