Making HTTP Requests using Node-Fetch
With Request module depreciated Node-fetch is one of the top recommended libraries to make HTTP request in node.js . This library brings in the window.fetch method to node.js. So, lets…
With Request module depreciated Node-fetch is one of the top recommended libraries to make HTTP request in node.js . This library brings in the window.fetch method to node.js. So, lets…
A very straightforward way of understanding closures in javascript is that closures are what that gives your javascript functions access to the scope of your outer function. Let us first…
What is Apache Kafka ? Apache Kafka is a distributed streaming platform that uses the publisher/subscriber messaging model. Where Producer publishes a stream of data and the consumer consumes/subscribe that…
Javascript is weird. In Javascript you can use a variable before declaring it. In other words, A variable can be declared after it has been used. for example: x =…
NGINX is an open-source, lightweight, and high-performance web server developed by Igor Sysoev and released in 2004. It is one of the most popular web servers in the world. In…
In Javascript 'this' refers to an object in the current executing context. Now, let's check what the hell is the current execution context. It simply means on what scope or…
So, We will be checking how to use jwt token for api authorization. For the sake of this tutorial I won't be using any database for data but rather an…
I have no idea why you or anyone would prefer SOAP over REST using Node.js. The reason why I had to do it was that one of the clients had…
If you are trying to understand javascript's call apply bind function then the first step to understanding these call, apply, and bind methods are to understand 'this' keyword in javascript.…
What is Passport.js? Passport is authentication middleware for Node.js. As it’s extremely flexible and modular, Passport can be unobtrusively dropped into any Express-based web application. A comprehensive set of strategies…