Express JS Static files serving
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();...
What’s new in Angular in Version 7 production release arrives
What’s new in Angular in Version 7, Final production release: Angular 7.0.0. finally, release here. This release incorporated the latest synchronized version of the angular material, core framework, and CLI. Angular 7.0.0. production release a better feature support...
express cookie parser | Create cookies using express
express cookie parser Environment setup: npm init npm install express --save npm install cookie-parser --save What are Cookies in express This is client-side data storage technique. Small data files Data sent back to the client from the server which stored in...
express router tutorial
express router tutorial Basic setup command npm init npm install express var express = require('express'); var myrouter = express.Router(); myrouter.get('/', function(req, res){ res.send('Get Route without parameter'); }); myrouter.get('/about', function(req, res){...