Using MongoDB on Node.js Application Using Mongoose — DZone Web Dev Zone

Image result for mongoose image

Introduction In this post, we are going to see how we can use MongoDB in our Node.js application with the help of the package Mongoose. We will also be covering some facts about MongoDB so that, as a reader, you will understand why we have chosen MongoDB as our backend. We will be going through some steps…

JavaScript, Node, MongoDB, Mongoose is a developer stack that is very popular.  If you can’t stand up or access a Mongo Server you can use NeDB which allows you to use a simple flat file for your JSON data.  One of NeDB’s advantages is that it uses most of the Mongo command structure.  You could develop using NeDB and when your ready move over to Mongo.  Some app’s are small enough that you can just leave them on NeDB.

via Using MongoDB on Node.js Application Using Mongoose — DZone Web Dev Zone