A fully-functional shopping cart built with Redux Saga using Yield
The branch has all the scaffolding of the application, but no sagas. Add sagas for the app to work.
redux-saga-cart is a fully functional, non-trivial demo application meant to help intermediate and advanced users understand and use Redux Saga.
-
Clone and install this repo
-
Install the babel CLI
npm install -g babel babel-cli
- Start the application with
npm start
in each folder - Open the url
http://localhost:8080
(backend is on 8081)
Make sure the demo server is running on the correct port (8081
). Make sure the permissions on your computer allow communication between the ports 8080
and 8081
.
Still getting an error? Copy any errors that appear in dev tools and open an issue.
Make sure that the port 8080
is available before running npm start
Make sure you're running the latest version of node
. Make sure the following dependencies are installed globally as not all OS's respect global dependencies:
{
"babel-core": "^6.18.2",
"babel-loader": "^6.2.8",
"babel-plugin-transform-object-rest-spread": "^6.19.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.23.0",
"babel-regenerator-runtime": "^6.5.0",
"webpack": "^1.13.3",
"webpack-dev-middleware": "^1.10.1",
"webpack-hot-middleware": "^2.17.1",
"webpack-dev-server": "^1.16.5"
}