From the course: React: Securing Applications

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Set up flow

Set up flow - React.js Tutorial

From the course: React: Securing Applications

Start my 1-month free trial

Set up flow

- The next step is to install and setup flow into our application. Although, flow isn't directly related to security since it is basically type checking, it is a good practice to have as it prevents any unwanted data into your application and potential issues. So let's get to it. I'm going to leave my application running here, and I'm going to bring a brand new terminal by clicking on the plus here, like so. Make sure that I'm in the right directory, so the security where I have the package.json here, like so and then what I'm going to do is do npm install, or i. That's the shortcut for install, if you don't know. Flow-bin, so that's what we need to use flow inside of our applications. Let's go ahead and install it. Once it is done installing, you can go back to your package.json file like so, and you should see it right here, like so. And what we're going to do next is add the script to our list of scripts here so we…

Contents