O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

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

Exploring MongoDB

Remember that the M in the MEAN stack, is an open source document-based database. It's considered a NoSQL database because it doesn't use SQL and is not relational. It integrates well with JavaScript-based tools because, instead of tables, it stores data in documents that can be treated by our Node.js application as JSON.

Note

Technically, MongoDB stores data in a format called BSON, short for Binary JSON.

Setting up MongoDB

The first step in getting MongoDB running on your system is installation. Head over to https://www.mongodb.org/downloads#production, and you will find the most updated installation download for Windows, Mac, Linux, or Solaris. There are also links to instructions there to install MongoDB with tools such as Homebrew ...

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