node index.js, which requires us to
Ctrl+Cand restart our server every time we make code changes, we can use Nodemon.
-e jsargument tells Nodemon to only restart on changes to JS files. By default Nodemon also "watches" (i.e. restart on changes) JSON files, which can be troublesome when we work with JSON files as DBs.