Express js Introduction express() – Creates an Express application. The express() function is a top-level function exported by the express module. var express = require(‘express’);
Category: Nodejs
What is ExpressJS ?
What is Express.js? Expressjs is a Node js web application server framework, which is specifically designed for building single-page, multi-page, and hybrid web applications. It
Basic HTTP calls using Node.js
Basic HTTP calls using Node.js without Expressjs Node.js is designed for developing scalable network applications. We may face a situation where we need to perform
Create HTTP Web Server in Node.js
Create HTTP Web Server in Node.js The Node.js framework is mostly used to create server based applications. The framework can easily be used to create
Managing third party packages with npm
Managing third party packages with npm As we have seen, the “Node package manager” has the ability to manage modules, which are required by Node.js
Modules in Node.js
Create, Publish, Extend & Manage A module in Node.js is a logical encapsulation of code in a single unit. It is a good practice to
Hello world application in Node.js
Hello world application in Node.js Without ExpressJS Once you have downloaded and installed Node.js on your computer, lets try to display “Hello World” in a
Export and Import Modules in NodeJS
Export a Node JS Module First we need to understand is why we need to export a Node JS Module? Node JS has provided almost
What package.json in NodeJS application ?
What is package.json? package.json is a plain JSON(Java Script Object Notation) text file which contains all metadata information about Node JS Project or application. Every
How to create Logger in NodeJS ?
Logging in NodeJS Applications We will see simple method of logging a very simple server program. Log Levels Some applications process hundreds of millions of