Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,35 @@
# react.js shopping cart
# ReactJS shopping cart

example of shopping cart implemented in react.js and redux.js
Example of shopping cart implemented in ReactJS and ReduxJS

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

## getting started
## Getting started

install dependencies and start local dev server
install dependencies

```sh
npm install
```

start local dev server

```sh
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)
---

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