Home » Mongoose

Tag Archives: Mongoose

Url shortener in node.js

Hello. In this tutorial, we will take a look at implementing the url shortener in the nodejs application with the help of mongodb. I will be using the mlab portal for creating and managing the mongodb. 1. Introduction These days remembering the short urls is quote a trend as people do not like to remember the big long urls for ...

Read More »

Node.js and MongoDB Tutorial

Hello. In this tutorial, we will create a simple node.js application and perform the CRUD operations with the MongoDB. The node.js framework is commonly used to create server-based applications which are further used to show the contents to the users.  1. Introduction Let us first understand that what is Mongo database and set up Node.js. MongoDB is a high-performance NoSQL ...

Read More »

Modeling Mongo Documents With Mongoose

Without a doubt, one of the quickest ways to build an application that leverages MongoDB is with Node. It’s as if the two platforms were made for each other; the sheer number of Node libraries available for dealing with Mongo is testimony to a vibrant, innovative community. Indeed, one of my favorite Mongo focused libraries these days is Mongoose. Briefly, ...

Read More »