by Yogesh | Oct 25, 2018 | Node JS Tutorial
Step 1: Create a Node application and install dependencies. npm init npm install --save express npm install --save body-parser npm install --save underscore npm install --save nodemon Step 2: Create a movies.json file and add following code. [{ "Id": "1", "Title":... by Yogesh | Oct 20, 2018 | Node JS Tutorial
Initial command to start a new node application. npm init npm install express --save Create folders public, images, and styles in the application. Index.js var express = require('Express'); var path = require('path'); var app = express();... by Yogesh | Oct 16, 2018 | Node JS Tutorial
What is express middleware Middleware functions are functions that have access to the request object (req), the response object (res), and the next function in the application’s request-response cycle. The next function is a function in the Express router which, when... by Yogesh | Mar 27, 2018 | Node JS Tutorial
What is Event and Event Emitter in Node JS An User Action i.e click Event names are defined simply by calling .emit with the event name. An object sends events using the .emit function. Events are sent to any listeners that have registered to receive events from the...