## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
Visit `http://localhost:8082` using Chrome
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
## Installation and Getting Started
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
# Redux Saga Shopping Cart Back-end Server
## About
This server is meant to mock the functionality of a real shopping application's
back-end services. It comes ready-made and complete, but with no front-end
application to consume its APIs. That task is left to you.
### Demographics
This application is meant to be used by, but not limited to, students completing
Daniel Stern's Redux Saga course on Pluralsight.
### Usage
1. Install dependencies: `npm install`
2. Run server. `npm start`
3. Navigate to the instructions page: `http://localhost:8081` (You must not already
have a different application running on this port)
# Redux Saga Shopping Cart Back-end Server
## About
This server is meant to mock the functionality of a real shopping application's
back-end services. It comes ready-made and complete, but with no front-end
application to consume its APIs. That task is left to you.
### Demographics
This application is meant to be used by, but not limited to, students completing
Daniel Stern's Redux Saga course on Pluralsight.
### Usage
1. Install dependencies: `npm install`
2. Run server. `npm start`
3. Navigate to the instructions page: `http://localhost:8081` (You must not already
have a different application running on this port)
# Redux Saga Shopping Cart Back-end Server
## About
This server is meant to mock the functionality of a real shopping application's
back-end services. It comes ready-made and complete, but with no front-end
application to consume its APIs. That task is left to you.
### Demographics
This application is meant to be used by, but not limited to, students completing
Daniel Stern's Redux Saga course on Pluralsight.
### Usage
1. Install dependencies: `npm install`
2. Run server. `npm start`
3. Navigate to the instructions page: `http://localhost:8081` (You must not already
have a different application running on this port)
`npm start`
Visit `http://localhost:8082` using Chrome
users:
- id: U10000
name: J.R.R Hemingway
country: CAD
address1: 555 La Floridita Way
phone: 15551234567
- id: U20000
name: George R. R. Rowling
country: USD
address1: 14 Diagon Alley
cards:
- id: C10000
owner: U10000
number: 4500123456787777
availableFunds: 500
carts:
- owner: U10000
items:
- id: I10000
quantity: 2
- id: I20000
quantity: 1
- id: I40000
quantity: 3
- owner: U20000
items:
- id: I50000
quantity: 3
items:
- id: I10000
name: Velvet Mousepad
description: Your mouse never had it so good.
usd: 129.95
cad: 175.85
img: velvet-mousepad.png
quantityAvailable: 100000
weight: 0.8
- id: I20000
name: Wood-Grain USB Cable
description: This cable matches any mahogany or oak-based computer chassis.
usd: 35.50
cad: 55.60
img: usb-cable.png
quantityAvailable: 3
weight: 0.2
- id: I30000
name: 1 Year Subscription - JavaScript Enthusiast Magazine
description: Finally, JavaScript news, delivered right to your front door!
usd: 119.15
cad: 119.15
quantityAvailable: 99999
weight: 0
- id: I40000
name: Teaching Computers to Golf, 1st Edition
description: Don't try to teach your Mac or PC how to play golf without it.
usd: 15.95
cad: 22.95
quantityAvailable: 5
weight: 0.5
- id: I50000
name: I <3 Yield Pin
description: Show your friends how much you love JavaScript's newest keyword!
usd: 1.95
cad: 2.95
quantityAvailable: 0
weight: 0.1
taxRates:
- symbol: USD
rate: 0.15
- symbol: CAD
rate: 0.19
app.use(express.static('public'));
}
res
.status(200)
.send(cart);
};
app.get('/cart/add/:owner/:itemID', makeCartAdjustmentRoute(true));
app.get('/cart/remove/:owner/:itemID', makeCartAdjustmentRoute(false));
});
});
card.availableFunds -= total;
res
.status(201)
.send({ success: true });
});
if (items.includes(undefined)) {
return res
.status(500)
.json({ error: 'A specified ID had no matching item' });
} else {
res
.status(200)
.json(items.map(item => ({
id: item.id,
symbol,
price: symbol === 'USD' ? item.usd : item.cad
})));
}
});
res
.status(200)
.json({
rate: taxRate.rate
});
});
app.listen(port, () => {
console.log(`Redux Saga Cart backend server is listening on ${port}`);
});
});
app.use(cors());
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`
# redux-saga-sandbox
A console-based Redux Saga sandbox
## About
Use this tool to learn Redux Saga in a responsive, browser-based environment.
Enusre you have installed `nodejs` from https://nodejs.org/. Something >= 6.x
should be fine., You will also need to have a version of `npm` >= 5.2.
To install dependencies and start the application run the following commands:
`npm install`
`npm start`