Uploaded September 2026 | Updated November 2026, 3 hours ago
Learn how to deploy a Node.js and Express app from GitHub to production using Cloudways Velocity. We’ll connect PostgreSQL, configure environment variables, add a custom domain with HTTPS, and enable automatic GitHub deployments whenever you push a code change.
This tutorial is for developers who want to put a Node.js app online without manually configuring and maintaining a VPS, NGINX, PM2, PostgreSQL, SSL certificates, and deployment scripts.
By the end, you’ll have a complete Node.js deployment workflow you can reuse for Express apps, side projects, client applications, and MVPs.
Cloudways sponsored this video. Use code TONY to save 30% on your first three months. I may also earn a commission if you sign up through my affiliate link below, at no additional cost to you.
🔗 Deploy your Node.js app with Cloudways Velocity: https://ttt.do/CloudwaysVelocity
🔗 Fork the Node.js starter project: github.com/tonyflo/nodejs-postgres-guestbook
🔗 Follow the written guide: https://ttt.do/deploy-nodejs
What You’ll Learn
✅ Deploy a Node.js app directly from GitHub
✅ Connect an Express application to PostgreSQL
✅ Store database credentials securely with environment variables
✅ Test your app on a temporary domain before going live
✅ Automatically deploy new changes from GitHub
✅ Connect a custom domain and enable HTTPS
⏱️ CHAPTERS
0:00 Deploy a Node.js App from GitHub
0:42 Fork the Starter Project
1:24 Connect Cloudways to GitHub
2:38 Configure the Deployment
4:02 Verify the First Deployment
4:52 Connect PostgreSQL to Node.js
6:18 Enable Automatic GitHub Deployments
7:32 Connect a Custom Domain + HTTPS
8:28 Your Node.js App Is Live
Learn how to deploy a Node.js and Express app from GitHub to production using Cloudways Velocity. We’ll connect PostgreSQL, configure environment variables, add a custom domain with HTTPS, and enable automatic GitHub deployments whenever you push a code change.
This tutorial is for developers who want to put a Node.js app online without manually configuring and maintaining a VPS, NGINX, PM2, PostgreSQL, SSL certificates, and deployment scripts.
By the end, you’ll have a complete Node.js deployment workflow you can reuse for Express apps, side projects, client applications, and MVPs.
Cloudways sponsored this video. Use code TONY to save 30% on your first three months. I may also earn a commission if you sign up through my affiliate link below, at no additional cost to you.
🔗 Deploy your Node.js app with Cloudways Velocity: https://ttt.do/CloudwaysVelocity
🔗 Fork the Node.js starter project: github.com/tonyflo/nodejs-postgres-guestbook
🔗 Follow the written guide: https://ttt.do/deploy-nodejs
What You’ll Learn
✅ Deploy a Node.js app directly from GitHub
✅ Connect an Express application to PostgreSQL
✅ Store database credentials securely with environment variables
✅ Test your app on a temporary domain before going live
✅ Automatically deploy new changes from GitHub
✅ Connect a custom domain and enable HTTPS
⏱️ CHAPTERS
0:00 Deploy a Node.js App from GitHub
0:42 Fork the Starter Project
1:24 Connect Cloudways to GitHub
2:38 Configure the Deployment
4:02 Verify the First Deployment
4:52 Connect PostgreSQL to Node.js
6:18 Enable Automatic GitHub Deployments
7:32 Connect a Custom Domain + HTTPS
8:28 Your Node.js App Is Live










