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 …

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 …