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

https://github.com/navjotdhanawat/react-redux-express-cart

Ecommerce products listing and add to cart functionality using react redux with express api
https://github.com/navjotdhanawat/react-redux-express-cart

addtocart cart cart-functionality debounce ecommerce react redux underscore

Last synced: about 1 month ago
JSON representation

Ecommerce products listing and add to cart functionality using react redux with express api

Awesome Lists containing this project

README

        

# React Ecommerce add to cart with redux and express api

Ecommerce add to cart functionality reactjs with router.

#### Concepts used in this POC
- Debouncing to optimized rest api calls
- Infinite scrolling with the help of debounce. [Underscore Debounce](http://underscorejs.org/#debounce)
- Lazy loading of images while scrolling. [React-lazyload](https://github.com/jasonslyvia/react-lazyload)

#### Software Stack

- [ReactJs](https://reactjs.org/)
- [Underscore](http://underscorejs.org/#debounce)
- [React lazyload](https://github.com/jasonslyvia/react-lazyload)
- [Axios for HTTP calls](https://www.npmjs.com/package/axios)
- [Webpack](https://www.npmjs.com/package/webpack)
#### Screen-shots

![React Redux Cart Screenshot](https://github.com/navjotdhanawat/react-redux-express-cart/blob/master/client/images/react-redux-cart-1.png?raw=true "React Redux Cart Screenshot")

![React Redux Cart Screenshot](https://github.com/navjotdhanawat/react-redux-express-cart/blob/master/client/images/react-redux-cart-2.png?raw=true "React Redux Cart Screenshot")

![React Redux Cart Screenshot](https://github.com/navjotdhanawat/react-redux-express-cart/blob/master/client/images/react-redux-cart-3.png?raw=true "React Redux Cart Screenshot")

![React Redux Cart Screenshot](https://github.com/navjotdhanawat/react-redux-express-cart/blob/master/client/images/react-redux-cart-4.png?raw=true "React Redux Cart Screenshot")

![React Redux Cart Screenshot](https://github.com/navjotdhanawat/react-redux-express-cart/blob/master/client/images/react-redux-cart-5.png?raw=true "React Redux Cart Screenshot")

#### Installation

```
$ npm install
$ npm start
```

#### Development with Live reloading

```
$npm run dev
```

#### Todos

- Write Unit Test cases.

#### Demo and Tutorial:

[THENEXTFACT Tutorial: How to create shopping cart in react redux](http://www.thenextfact.com/?p=588&preview=true)