Tag: Node.js

MongoDB – Projection

Projection means asking the DB to get only the values that we are interested in.

MongoDB Remove Document

To understand how to insert a document, you can go though http://whatthetech.co/mongoose-insert-document-using-insertmany-using-node-js/ Let us first

Javascript Promises using Bluebird

In http://whatthetech.co/promises-in-javascriptnode-js/ and http://whatthetech.co/promises-in-javascript-and-node-js-part-2-using-promise-all-and-javascript-map/ we understood what promises are and how to use them. If

Promises in Javascript and Node.JS – Using Promise.all

In this blog, we will try and understand how to use Promise.all and JS map

Promises in Javascript/Node.JS

A Promise in Javascript/Node.JS is used for asynchronous programming. This can be used as an

Caching with Redis – Part 1

In this tutorial, we will work with Node.JS and understand how we can work with