O'Reilly logo

Node Web Development - Second Edition by David Herron

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Storing notes in MongoDB with Mongoose

MongoDB is one of the leading NoSQL databases. They describe it as a scalable, high performance, open source, document-oriented database. It uses JSON-style documents with no predefined rigid schema, and a large number of advanced features. You can see their website for more information and documentation: http://www.mongodb.org.

A prerequisite is to have a MongoDB instance available. If you do not have access to one, mongohosting (http://www.mongohosting.com), mongohq (http://www.mongohq.com), and mongolab (http://www.mongolab.com) all offer a free pricing tier to use on a trial basis.

Mongoose is one of several modules for accessing MongoDB from Node. It is an object modeling tool, meaning that your program ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required