Express JS demo app
- Install Node.JS and npm package manager for your OS
- Create a new directory and open the directory with vscode
- Create and initialize node.js app
npm -y init
- Install express.js dependencies
npm install express
- Install nodemon to automatically refresh server code
npm install -g nodemon
- Install ejs library from vscode extension then run the command
npm install ejs
- Start the express app (main-server at root directory: server.js)
nodemon server.js