Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krzysu/reactjs-shopping-cart

example of shopping cart implemented in react.js and redux.js
https://github.com/krzysu/reactjs-shopping-cart

beginner-friendly beginner-project ecommerce reactjs redux shopping-cart

Last synced: about 14 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# react.js shopping cart

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

for demo [click here](http://krzysu.github.io/reactjs-shopping-cart/)

## getting started

install dependencies and start local dev server

```sh
npm install
npm start
```

## details
- build with [create react app](https://github.com/facebookincubator/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](https://egghead.io/courses/getting-started-with-redux).
- you can look under the hood directly from your browser using [redux devtools](https://github.com/zalmoxisus/redux-devtools-extension). 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](https://github.com/erikras/ducks-modular-redux).

## TODO
- add reducers and selectors unit tests

* * *
author: Kris Urbas [@krzysu](https://twitter.com/krzysu)
licence: MIT