Source: Getting Started with Node.js
Source: Deploying a Simple Bloe with Heroku
Node.js: Cross-platform runtime env. Build server-side / networking apps in js.
Heroku: Container-based cloud platform, allows easy deployment/management of apps.
Install the CLI (command line interface)
brew install heroku/brew/heroku
Prepare the app
git clone https://github.com/heroku/node-js-getting-started.git
cd node-js-getting-started
Deploy the app
heroku create
git push heroku main
heroku ps:scale web=1
heroku open
View logs
heroku logs --tail