Create a Single Page Website using Node.js and Express

Ankit Maheshwari
4 min readApr 4, 2020

To build a Website in Node.js we will use Express framework. Any other framework can also be used but Express is very popular when using Node.

What to cover in this Article:

#1) Installations.
#2) Create new Node.js Project with Express.js
#3) Create routes using Express.
#4) Testing — to make sure everything is working.

#1) Installation Required

To check whether the Node.js is already installed on your computer, open your terminal or CMD and run node -v command. If you see your Node.js version means it's installed.

Otherwise go to these links and install:
Click here to download and install Node.js (You should choose LTS version).
Click here to download VS Code

--

--

Ankit Maheshwari
Ankit Maheshwari

Written by Ankit Maheshwari

Frontend/Backend Engineer (Angular, React Native, NodeJS, MongoDB)