Taking advantage of axios inside our application

Let's go ahead and kick things off over inside the Terminal by shutting things down, clearing the output, and installing the necessary dependencies. I'm going to run npm init:

We can just generate a quick package.json file using the defaults and they'll use npm install axios. The current version of Axios is 0.18.1, and we'll toss on the save flag:

npm install axios@0.18.0 --save

It's going to make sure to say that as a dependency, and there we go. Everything is working, as expected. Now we can clear this output and we can actually take advantage of Axios inside our application. So, let's kick ...

Get Advanced Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.