Heroku

Let's deploy our API to Heroku using Heroku CLI.

Heroku CLI

The first thing we’ll need to use Heroku is the Heroku CLI. It’s already installed here. But, if you’d like to learn how to do that, then visit the Install Heroku CLI lesson in the Appendix section.

Create an account

Visit Heroku and create an account. Under the option for “Primary Development Language,” select Node.js.

API Heroku app

Follow the steps mentioned below to create a Heroku app.

  1. After creating an account and setting a password, you’ll be redirected to a dashboard. Click “Create New App.”
  2. On the next page, you’ll be asked to
...

Get hands-on with 1400+ tech skills courses.