O'Reilly logo

Node Web Development 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

Mongoose—Node interface to MongoDB

MongoDB is one of the leading "nosql" databases (where nosql of course means "no SQL"). 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/.

Mongoose is one of several modules for accessing MongoDB. It is an object modeling tool, meaning that your program defines Schema objects describing its data, and Mongoose takes care of storage in MongoDB. It's a very powerful object modeling tool for Node and MongoDB, with embedded documents, a flexible typing system for fields, field validation, ...

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