Skip to content

Instantly share code, notes, and snippets.

@carlssonk
carlssonk / deploy_node_do.md
Last active January 11, 2025 07:10
Deploy node.js app to DigitalOcean

Deploy Node.js Application to DigitalOcean

This step by step tutorial will show you how to set up a Node.js server with MongoDB to DigitalOcean using PM2, NGINX as reverse proxy and a SSL from LetsEncrypt. We will also add a custom domain name.

Prerequisites

Create Droplet & Generate SSH Key