Install:
npm init
npm install express --save
// npm notice created a lockfile as package-lock.json. You should commit this file.
// + express@4.17.1
// added 50 packages from 37 contributors and audited 126 packages in 2.502s
// found 0 vulnerabilities
Express:
Create de file app.js.
Run:
node app.js
// Example app listening on port 3000!