Category: Node.Js

User Authentication and Authorization – Part ll

Posted on June 16, 2017 by in Node.Js


Authentication is used by the server when it needs to know the identity of someone who is accessing their information.
Authorization is a process by which the server determines if the client has permission to use a resource or
access a file. In general, authentication answers the question“Who are you?” and authorization answers  “What are you allowed to do?”.

In an earlier blog, we have discussed about Token based authentication and authorization and how it is being implemented in one of our projects. Over these past few months, we’ve made changes to our approach.
Read on to find out what enhancements we have made and why.

Tools used for implementation


JSON Web Token (JWT) is a means of representing a signed content using JSON data structures (generally called as claims). You can find more information about JWT here.


Redis is a data structure server and acts as “NoSQL” key value cache data store. You can find more information about Redis here.

Designing a notification system

Posted on April 26, 2017 by in Node.Js, SQL

It has become common for any social mobile or web app to support notifications and track user activities within that application.


Using Bower, Grunt and VS Code for Node.JS development

Posted on June 8, 2015 by in Node.Js

We’ve been working extensively with Node.JS and Express for the past 8 months and have picked a few components that allow us to work efficiently and manage our project better. In this blog we will be discussing how to setup a Node.JS project with,

Token based authentication system in Node.JS

Posted on June 8, 2015 by in Node.Js

What is token based authentication ? 

At a very basic level, token based authentication works as follows –