WebDevPT / react-shopping-cart

React Shopping Cart without using Redux

Home Page:https://sivadass.github.io/react-shopping-cart/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Shopping Cart

Simple React Shopping Cart without using Redux

React Shopping Cart Preview

Live Demo

https://sivadass.github.io/react-shopping-cart/

Setup

Goto the project folder and install required dependencies:

npm install

And run Webpack to watch for code changes and bundle js and scss files:

webpack

For production build:

webpack -p

Now open index.html in your browser to view the live page.

Additional Info

  • You may get CORS error, when running this app in your local machine. Open index.js and use products.json as url.

CORS Error

  • I used localhost of my Wamp server to run this app, you can even use webpack-dev-server to create a handy http server or any other of your choice.

About

React Shopping Cart without using Redux

https://sivadass.github.io/react-shopping-cart/


Languages

Language:JavaScript 56.6%Language:CSS 41.7%Language:HTML 1.7%