Posts in Category: node js

Create ssl / https server in nodejs

Sometimes there are needs to create https in your node application itself to create real life scenario or may be to test things like http/2 server push. Today I will show you how to create https server in node js, both with and without express. I will also talk about

Read More





Setup your node.js project easily with voidcanvas-cli

npm install -g voidcanvas Use node.js v4.1.2 or greater. Assuming that you are familiar with node.js and have already installed void canvas cli in your computer globally, using the command given above; I’m starting the hows’ and whys’ of this Command Line Interface. What is this cli for In simple words, it just

Read More



Authentication using Google’s oAuth api with node.js

OAuth authentications are pretty popular now a days and another thing which is popular is JavaScript. This article shows how to plugin google’s oAuth api for authentication in your own node application. The github repo is also available. A background of oAuth OAuth is an authentication technique which provides you a secure

Read More