O'Reilly logo

Learning Web Development with React and Bootstrap by Mehul Bhatt, Harmeet Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Redux setup

Let's start with a UserList example in Redux. First, create a directory with the application. We are using the Node.js server and npm package for this example because the Redux module is not available independently.

Installing Node.js

First, we have to download and install Node.js, if we have not already installed it in the system. We can download Node.js from http://nodejs.org . It includes the npm package manager.

Once the setup is done, we can check whether Node.js was set up properly or not. Open the command prompt window and run the following command:

node --version

You should be able to see the version information, which ensures that the installation was successful.

Setting up the application

First we need to create a package.json ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required