Awesome Open Source
Awesome Open Source

react.js shopping cart

example of shopping cart implemented in react.js and redux.js

for demo click here

getting started

install dependencies and start local dev server

npm install
npm start

details

  • build with create react app. Check their page for more details.
  • this example is using redux.js for application state management, to learn more about it I recommend this tutorial.
  • you can look under the hood directly from your browser using redux devtools. Install extension for your browser, open demo page (link above) and see how app state changes when you interact with it.
  • if you wonder why reducers, actions and selectors are all in one file inside folder called ducks, read more here.

TODO

  • add reducers and selectors unit tests

author: Kris Urbas @krzysu
licence: MIT


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,891
redux (1,181
reactjs (1,132
ecommerce (229
beginner-friendly (89
shopping-cart (74
beginner-project (22