March 2018
Intermediate to advanced
592 pages
13h 44m
English
The first thing we need to do before we can actually use Mongoose in our project is install it. Over in the Terminal, I'm going to install it using npm i, which is short for npm install. The module name itself is called mongoose, and we'll be installing the most recent version, which is going to be version 5.0.6. We're going to tack on the --save flag since we will need Mongoose for both production and testing purposes:
npm i mongoose@5.0.6 --save
Once we run this command, it's going to go off and do its thing. We can move into Atom and start creating the files we're going to need to run our application.
First up, let's make a folder in the root of the project. This folder is going to be called server, and everything ...