Credit to CleverProgrammer
Replace the code in the following file
server.js Replace this code
server.listen(3030);
with
server.listen(process.env.PORT||3030);
script.js Replace this code
port: "3030",
with
port: "443",
In the project directory, you can run:
Install the dependencies in the local node_modules folder
Runs the app in the development mode. Open http://localhost:3030 to view it in the browser.