From Dev.to
Deploy a Node.js API to Ubuntu with PM2, Nginx, MySQL and Let's Encrypt
Deploying a Node.js API for the first time usually goes wrong in the same places: an env file that crashes the app on startup, a PM2 restart loop, DNS that isn't there yet when certbot runs. This guid...
