Before we get started

In this article, we are going to build a simple web server using Node.js, Express, and the command line. For those readers who are not familiar with these technologies, take a quick look at this introduction before we get started:

  • Node.js is a JavaScript runtime environment that executes JavaScript outside a web browser. It has become one of the most used backend technologies. To install it download the LTS version from the Nodes.js website.
  • Express is a minimal Node.js framework. It helps to write DRY code when building web applications with Node.js. I will show how to install this framework later on in the post.
  • Thecommand line is a place where we can tell the computer to execute desired tasks. We can open the command line that comes with our OS (Command Prompt in Windows, Terminal in macOS) or we can download a terminal application. I will useHyper, a terminal that is fully customizable, built on HTML/CSS/JS.

#javascript #backend-development #nodejs #web-server #expressjs

How to Build a simple Web Server using Node.js and Express
6.90 GEEK