Search⌘ K
AI Features

Heroku

Explore the process of deploying your Angular application alongside its API to Heroku. Learn how to set up a Heroku account, configure environment variables securely, and use the Heroku CLI to push and launch your app. This lesson guides you through deploying your backend API and ensuring it is accessible and ready for use.

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 provide
...