HTTP server

We will make use of the Express framework, which is one of the most popular web frameworks used with Node.js. Please take this as an exercise to learn the Express.js web framework. Follow these steps and at the end, you will have the HTTP server up and running:

  1. Since our server is a 64-bit Windows machine, we will download the latest Node.js installer from the official website: https://nodejs.org/en/download/. You can install Node.js as per the server configuration and OS.
  2. After downloading the installer, run it and complete the installation. The installer will also download Node Package Manager (NPM) which is used to download and manage additional packages for Node.js development.
  3. To check the successful installation of the ...

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.