Search⌘ K
AI Features

Deployment Setup for a REST API Application

Explore the process of deploying a REST API backend application using Go on the Heroku cloud platform. This lesson guides you through Heroku CLI installation, application creation, Git configuration, database addon setup, environment variable management, and testing the deployed app. You'll gain practical skills to make your backend application accessible online and ready for production.

We'll cover the following...

Introduction

Introduction Web applications, especially back-end applications, need to be deployed to be publicly accessed on the internet. To deploy a back-end application, we can use a Virtual Private Server (VPS), shared hosting, and other mechanisms. In this lesson, we deploy the REST API application with a cloud platform called Heroku.

Deployment with Heroku

In this lesson, we install the heroku-cli application in the terminal below. The application that’s deployed is an inventory application that was developed in the previous lessons. Click the “Run” button to open the terminal.

Note: ...