Node.js Tutorials
Lección 7 de 14 · Node.js MongoDB Tutorial using Mongoose · Tecnología de la información
Node.js MongoDB Tutorial using Mongoose
This tutorial covers how to work with a MongoDB database using Node.js, Express.js, & Mongoose.
Node.js and MongoDB are simply made for each other. Mongoose is an awesome tool for managing connection, schema, document relations, getting, setting, and more.
This code is on Plunkr!: http://plnkr.co/edit/E5OpHJzVM9RsgVnbqhvp?p=catalogue
Node.js Tutorial for Beginners: https://www.youtube.com/watch?v=ndKRjmA6WNA
The first step in this Node.js Mongoose tutorial is to install Mongoose and make a connection to the MongoDB database. Then, we can easily register models, which can be called in any route to access collections from the mongo database.
Using the Express.js framework for this makes the whole process extremely nimble and light as well.
-~-~~-~~~-~~-~-
Also watch: “Responsive Design Tutorial – Tips for making web sites look great on any device”
-~-~~-~~~-~~-~-