Sign in

This tutorial is for beginners who wanted to start with Node.js. We will be creating a simple website with Node.js and the Express framework and will be using EJS view engine to manage our HTML code

Prerequisites
Step 1: Install nodejs and npm

Follow links as per your development environment

  1. Linux
  2. Windows
  3. Mac

If everything installed correctly, open terminal and type node -v and npm -v and you should get the following output based on the version you have installed

node -v
v12.18.0
npm -v
6.14.10

Step 2: Install Express generator package globally (g stand for global in command)

npm…

Seetharam SR

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store