Getting ready

To use Mongoose, we will need to install it to our Express application's package.json file:

npm install mongoose --save

Once saved to our package.json file, we can import Mongoose into our Express application in order to communicate with our running MongoDB process.

For supplemental information on using Mongoose, you check out the official Mongoose documentation website while working through this section:
http://mongoosejs.com/
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.240.35