Use Node Package Manager (npm) to install the following:
npm install express
npm install node-fetch
npm install js-sha512
npm install -g nodemon
To run server.js, open a Command Prompt/Terminal to where your files are located and run:
nodemon server.js