How to create REST API in Nodejs?

A REST API (Web API) is an application programming interface that allows us for interaction with RESTful web services or app services. REST stands for representational state transfer. It was created by computer scientist Roy Fielding. Here we will create …

Read and Write Streams in NodeJS

In NodeJS streams are the way to read data from source and write data to destination in continuous way. Streams is an EventEmitter instance and throws several events at different instance of times. Here in this article we will work …

How to use events in NodeJS?

Nodejs is a single threaded application. But we can make concurrent requests in Node.js with the help of events and callback function or events handlers. So, here in this article we will learn how to use events in NodeJS. Every …