Authenticate Node.js Applications using Passport

What is Passport.js? As we all know, User authentication is fundamental to almost every web application in existence.Now given the ubiquity of the need to impelement this user authentication as a feature of our web apps, it wouldn’t make sense to implement it from scratch each time.This is where passport comes in. Passport is a authentication middleware for Node.js applications. It’s extremely flexible and modular, that can be fully customised and works great with express web applications.
Read More...

Asynchronous JavaScript

Javascript code runs on a single thread and hence should be synchronous in nature. Synchronous code waits for one action to complete before moving on to next task. But even though JS is considered as single threaded we are able to perform tasks parallely HOW?

Read More...

Async/Await in JS

ECMAScript 2017 brought in syntactic sugar on top of Promises in JavaScript in form of async and await. Async/await provides a special syntax to work with promises in a more comfortable fashion. They allow us to write asynchronous Promise-based code in a synchronous manner.

Read More...

Promises in JS

See the pyramid shape and all the }) at the end? This is affectionately known as callback hell. The cause of callback hell is when people try to write JavaScript in a way where execution happens visually from top to bottom.

Read More...

Learning Docker - Part 1

Docker is a platform for developers to develop, deploy, and run applications with containers. Deployment of applications using linux containers is called containerization. Containers allow developers to pack up an application with all its libraries and dependencies, allowing them to be portable among any system running Linux.

Read More...

About Us

"Every word is not an abbreviation". Zap! is a team of four members passionate about their work, exploring new domains of technology. We are Computer Science students pursuing B.Tech from Northern India Engineering College, Delhi. We all love to implement our theoretical knowledge into real life, learning along the way. We love to write blogs on what we learn and experiment. We represented India at Oulu HealthHack in Finland. Currently, we are on #100Days of Code Challenge.
Read More...