Make sure you have Node.js and the Heroku CLI installed.
$ git clone # or clone your own fork
open terminal/console
$ cd fresh-NodeJS-app
$ heroku create // or add a name: heroku create fresh-nodejs-2019
(Name must start with a letter, end with a letter or digit and can only contain lowercase letters, digits, and dashes.)
$ git remote -v
$ heroku git:remote -a fresh-nodejs-2019 (or your app name)
$ git push heroku master
$ heroku open
or
To work local on http://localhost:5000/
$ npm install
$ heroku local
For more information about using Node.js on Heroku, see these Dev Center articles: