Skip to content

iamdarshshah/redux-saga-cart

Repository files navigation

This project was made for learning purpose. Checkout the course on Redux-Saga by Daniel Stern on Pluralsight.

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. This project is the finished product that is built in the Pluralsight course redux-saga. (Link coming soon) While running and studying this project is useful to anyone, it is strongly recommended that you build it while watching the Pluralsight course.

Installation

  1. Clone and install the server application

  2. Clone and install the application https://github.com/iamdarshshah/redux-saga-cart.git && cd redux-saga-cart && npm install

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

Usage

  1. Start the application with npm start
  2. Open the url http://localhost:8080

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"
}

About

Checkout the course on Pluralsight for learning Redux-saga.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published