Posts in Category: node js

HTTP2 server push in depth with node.js

HTTP/2 or HTTP/2.0, the upgraded version of the HTTP network protocol is derived from an experimental protocol, named SPDY, developed by Google. It’s the first revision of HTTP protocol since HTTP1.1 and contains many useful features in it. The most interesting and promising feature of HTTP/2 is server push. This

Read More

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