April 2018
Intermediate to advanced
178 pages
3h 51m
English
Heroku is a public cloud offering that allows you to manage, deploy, and scale Node.js applications. Preparing your Node application for the Heroku environment does not take too much effort, as long as you install its command-line interface, available either at https://devcenter.heroku.com/articles/heroku-cli or through your package manager with the following:
npm install -g heroku-cli
All you have to do is provide a 'start script' element in the package.json file, push it to your relevant origin Git repository using git push master heroku, then log in and create your application, using the heroku login and heroku create commands.