In this section, we'll be setting up an Express app and then, we'll look at how we can test it to verify that the data that comes back from our routes is what the user should be getting. Now before we do any of that, we will need to create an Express server and that's the goal of this section.
Testing the Express application
Setting up testing for the Express app
We'll start with installing Express. We'll use npm i, which is short for install, to install Express. Remember, you could always replace install with i. We'll grab the most recent version, @4.16.2. Now, we'll be using the save flag as opposed to the save dev flag that we've used for testing in the previous chapter:
npm i express...