MEAN , MERN , MEVN

The MongoDB-Express-Angular/React/Vue-Node JavaScript stack has been gaining popularity in recent years. The asynchronous event-driven non-blocking-I/O nature of Node.js means that it can typically handle many requests per unit of time. It does not spawn a new process for each request, making it memory-efficient. Node.js uses the same syntax as client-side JavaScript, thus saving the coder's time to learn a new language. It uses Chrome's fast V8 JavaScript engine, and its tight integration with WebSocket makes it suitable for streaming and real-time applications such as chat rooms and multiplayer games.

To install Node.js on Windows, download the installer from its official website.

To install Node.js (version 13) on Ubuntu (Linux):

sudo apt-get install curl curl -sL https://deb.nodesource.com/setup_13.x|sudo -E bash - sudo apt-get install nodejs node -v npm -v

After the installation:

npm init npm install -g live-server live-server

The root directory of the website will just point to the directory in which 'live-server' is invoked.

To integrate live-server into your code:

(For more information, check out: <a href="https://www.npmjs.com/package/live-server">https://www.npmjs.com/package/live-server</a> )
var liveServer = require("live-server");var params = {
    port: 8181,
    host: "0.0.0.0",
    root: "/public",
    open: false,
    ignore: 'scss,my/templates',
    file: "index.html",
    wait: 1000,
    mount: [['/components', './node_modules']],
    logLevel: 2,
    middleware: [function(req, res, next) { next(); }]};
liveServer.start(params);

live-server is an auto-refreshing lightweight Node.js server for development purposes only.