Connecting to MongoDB via Mongoose


show more Connecting to MongoDB via Mongoose provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Node.js Essential Training (2013) show less
please wait ...

Connecting to MongoDB via Mongoose

MongoDB is a document oriented database using Javascript as its query language. Modules provided by the node community, make it easy to connect to a MongoDB database. In this video, we'll install one of those modules and connect to MongoDB. First let's go to the exercise files and pull out the project. Go to chapter seven, video one and then copy the start folder to your desktop. Next, go to Terminal and then change directory to that folder. I'm just going to drag the folder in to get the path.

And now type npm install and then press Return. So now our project has all the modules it needs and is ready to go. Before connecting to MongoDB, you need to have a MongoDB database warmed up and ready to go. There are many options for doing this, but two I would like to point out. The first one is to install MongoDB on your computer, to do this, go to MongoDB.org and head to the downloads page. One thing to note though is that this doesn't come as a dot PKG file with a wizard based installer, ins...

Connecting to MongoDB via Mongoose
Video duration: 4m 16s 3h 17m Intermediate

Viewers:

Connecting to MongoDB via Mongoose provides you with in-depth training on Developer. Taught by Joseph LeBlanc as part of the Node.js Essential Training (2013)

Subject:
Developer
Software:
JavaScript Node.js
Author:
please wait ...