How to Build Your First NodeJS Server with ExpressJS

Initialize the project:

Install the necessary dependencies:

npm install express http --save

Create the home script:

Install nodemon:

Write the server file:

let express = require('express') 
let http = require('http')