You are previewing Node Web Development.

Node Web Development

Cover of Node Web Development by David Herron Published by Packt Publishing

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:

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, ...

The best content for your career. Discover unlimited learning on demand for around $1/day.