Skip to content

Latest commit

 

History

History

redux-saga-cart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

redux-saga-cart

A fully-functional shopping cart built with Redux Saga using Yield

BRANCH - begin

The branch has all the scaffolding of the application, but no sagas. Add sagas for the app to work.

About

redux-saga-cart is a fully functional, non-trivial demo application meant to help intermediate and advanced users understand and use Redux Saga.

Installation

  1. Clone and install this repo

  2. Install the babel CLI npm install -g babel babel-cli

Usage

  1. Start the application with npm start in each folder
  2. Open the url http://localhost:8080(backend is on 8081)

Troubleshooting

The application hangs on load

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.

I don't see anything / I see the wrong thing when navigating to http://localhost:8080

Make sure that the port 8080 is available before running npm start

I get an error when 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"
}