Allow NodeJS to be run on port 80
sudo setcap cap_net_bind_service=+ep `readlink -f \`which node\``
Install pm2 to keep nodejs server running
npm i -g pm2
Start the NodeJS server with pm2
pm2 add server.mjs
Save the process to be loaded on reboot
pm2 save
pm2 startup