Skip to content

syedazampasha/react-shopping-cart

 
 

Repository files navigation

React Shopping Cart

Simple React Shopping Cart without using Redux

license Github file size David

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

Easily integrate React Shopping Cart into your existing website without using Redux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.5%
  • CSS 42.0%
  • HTML 1.5%