Setting up Heroku
In this section, we will use Heroku. It is a Platform-as-a-Service (PaaS) offering that lets us build and run applications in the cloud. Let’s learn how to set up Heroku and our applications.
Creating GitHub and Heroku accounts
In this section, we will create an account for GitHub and then Heroku.
First, we must create a GitHub account by going to https://github.com/. We will use this as the repository for our project.
Then, we must create a Heroku account by going to https://www.heroku.com/. This is where we will deploy our application and create an instance of our database.
Creating a new app in Heroku
After signing in to Heroku, click the New button at the top-right corner of the page and click the Create new app button to create an app without a pipeline:
Figure 17.1 – Create new app
Figure 17.1 is where you create a new app for the full-stack application. Name the app anything you wish and choose a...