In this section, we are going to start putting together all the pieces and stitch together the required setup. We are going to start with Node.js installation, then the database, and after that, move on to other pieces.
Before we continue with our development, we need Node.js on our server. The server here could be your own desktop, laptop, an AWS machine, or a digitalocean instance, which may or may not have a public IP (https://www.iplocation.net/public-vs-private-ip-address).
To install Node.js, navigate to https://nodejs.org/en/ and download the appropriate version for your machine. Once installation is completed, you can test the installation by running the from a command prompt/terminal:
node -v # v6.10.1
and
npm -v# 3.10.10
You may have a later version than the one shown previously.
Now that we have the required software, we will continue.