Coder Social home page Coder Social logo

praveen-1995 / cart-redux-toolkit-react-project-v2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 70 KB

Cart Project using React with Redux Toolkit

Home Page: https://react-redux-toolkit-cart-v2-prod.netlify.app/

HTML 1.99% JavaScript 70.12% CSS 27.89%
configurestore create-slice react-redux redux-toolkit slice-reducer john-smilga react vite cart heroicons useselector redux-devtools createasyncthunk action-creator actions extra-reducers reducers thunkapi usedispatch

cart-redux-toolkit-react-project-v2's Introduction

Cart ๐Ÿ›’

PROD [Live] : https://react-redux-toolkit-cart-v2-prod.netlify.app/

Cart consists of a straightforward user interface where there is a

  • List of some of the items added to the cart, Navbar with the title Redux Toolkit , cart amount i.e. total number of items added by default, and a CLEAR CART button which upon click triggers a pop-up modal with few options i.e., CONFIRM to clear all items in the cart, closes the modal and displays YOUR BAG is currently empty or CANCEL to close the modal
  • Each cartItem has the image , title , price , amount, along with a few buttons i.e. remove to remove the item from the cart, ๐Ÿ”ผ to increase , ๐Ÿ”ฝ to decrease the amount of that particular item and when the item amount gets less than 1, it is automatically removed from the cart.
  • For every change in cartItem, the total price and cart amount gets adjusted.
  • Data is handled by data.js, and styles are handled by index.css
  • To run the project locally, clone the repo, npm install to install the dependencies, and npm run dev to start up the development server on default port 5173.

Languages

HTML, CSS, JavaScript, ECMAScript, React - Hooks ~ useEffect, Redux Toolkit - createAsyncThunk

Deployment / Hosting

Netlify


Note: I have developed this project ~ [22] as part of the React 18 Tutorial and Projects Course (2023) taught by John Smilga.

cart-redux-toolkit-react-project-v2's People

Contributors

pktcodes avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.