You are previewing Jump Start Node.js.

Jump Start Node.js

Cover of Jump Start Node.js by Don Nguyen Published by SitePoint
O'Reilly logo

Chapter 3Persistence Pays

 

“Beware of bugs in the above code; I have only proved it correct, not tried it.”

 
 --Donald E. Knuth

Why MongoDB?

In this chapter, we’ll learn to use MongoDB. MongoDB is a particular type of NoSQL database; specifically, it’s a document-oriented database system. The Node.js ecosystem has excellent support for many popular relational database systems such as PostgreSQL and MySQL. Relational databases are robust and time-tested, and would adequately serve the needs of many modern-day web applications. So why are we using MongoDB? Let’s now go over some of the main features of MongoDB to answer this question.

One of the most prominent features about MongoDB is that it is document-oriented and schema-free. The document ...

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