main.js This is the file to make an http request and then return the data. To run this code node main.js 1 server.js This is the file to make a localhost server. To run this code node server.js