Intro
Using hard-coded values on our API is nice, but chances are you'll want to persist this data in the future. In this section, we'll learn how to use a database to store our data.
Adding the mongodb dependency​
We'll be using mongodb as our database driver. To add the dependency, run the following command:
npm install mongodb