Setting up node app with #ssl on a #digitalocean droplet
▻https://hackernoon.com/setting-up-node-app-with-ssl-on-a-digitalocean-droplet-1813b6ae7de3?sour
credit: ▻https://www.linkedin.com/pulse/five-reasons-why-developers-love-digitalocean-janakiram-msv/You probably Googled it it and are here! Okey, no more time waste (for MYSELF in future)…Let’s see how to setup node app with SSL on a DigitalOcean VPSInstall Heroku for it’s versioning featureGit push the app to HerokuSetup a drop letGenerate SSH keysSetup git bash for SSH-ing to dropletConnect to Droplet using SSH keysInstall nodeConfirm node installation using node -vInstall MongoDB if the app needs to persist dataConfirm if mongodb is running using the command sudo systemctl status mongodbSetup and configure pm2 to orchestrate the node appConfirm pm2 installation using pm2 -vClone to a location in the serverStart the node app for first cut testingStart node app as a processInstall nginxMake sure (...)