
Learn to deploy a Spring Boot app with Postgres on Heroku in a step-by-step tutorial. Create a Heroku account, install required software locally, and access source code and resources.
Install and configure JDK, Apache Maven, and Spring Tools Suite locally, choose Oracle JDK or OpenJDK, and set JAVA_HOME and M2_HOME to prepare a ready Spring Boot development environment.
Download and install PostgreSQL and pgAdmin on your local machine, select the OS installer, set a password, and connect to the default Postgres database.
Explore what Heroku is as a platform-as-a-service owned by Salesforce and learn how to deploy a Spring Boot app on Heroku, with free hours and optional account verification.
Sign up for a free Heroku account, verify your email, set a password, and log in to create your first application and select your development language for spring boot deployment.
Learn how to verify your Heroku account using debit or credit cards, handle common verification errors, and understand how verification affects the Heroku free trial, hours, and deployed apps.
Download and install Git on your local machine for Mac, Windows, or Linux. Verify the installation by running git --version to confirm the latest version is installed.
Download and install the Heroku CLI for your operating system, then verify the installation in the terminal to prepare for deploying a Spring Boot app to Heroku.
Set up a local Postgres database for a Spring Boot application, create the database, restore the student table in public schema with two records, and verify with a select query.
Gain an overview of a springwood app with postgres, detailing key dependencies, a student entity, repository, service, and controller, plus local testing of the get all students endpoint.
Log in to your Heroku account, create a new app with a unique name and region, and obtain its URL to prepare for deploying your spring boot app.
Provision a free heroku postgres database, retrieve host, port 5432, username, and password, and connect from your local environment to begin integrating postgres with your spring boot app.
Export your local PostgreSQL database as a backup, upload it to the cloud Heroku PostgreSQL by restoring the local dump, and verify data with a sample query.
Log in to your Heroku account via the CLI and authenticate in the browser, confirming the logged-in email. Install the Java plugin to enable deploying Java applications.
Deploy a Spring Boot app to Heroku by configuring cloud database credentials and the environment variable PORT, building a jar, and deploying via the Heroku command to test endpoints.
Learn two ways to view logs for your Spring Boot app on Heroku: browser view logs or tail real-time logs with the Heroku logs --tail command.
Explore heroku application settings to manage your spring boot app: remove unused databases, rename app, set ssl, add custom domain, transfer ownership, enable offline maintenance, and delete the app.
Heroku is Platform as a Service (PaaS) cloud service provider which is own by Salesforce.
In this course you will learn to deploy your Spring Boot App to Heroku For FREE. You can also have PostgreSQL database on cloud. Yes, you do not need to pay anything for this.
In this course you will learn you deploy your REST APIs Spring Boot App to Heroku along with PostgreSQL database in step by step manner. You will also learn to check logs for your Spring Boot Application.
If you have your own Spring Boot App that you want to showcase to your friends OR while going for interview then this course is for you.
Now a days most of the apps are getting deployed on cloud to make advantage out of it. If you own the server then it's a big task for you. So why not go for cloud ?
Key Highlights of this course :-
Introduction To Heroku
Deploy Spring Boot App on Heroku along with PostgreSQL Database
Check Logs For Spring Boot App
Heroku provides many things on cloud for FREE. For this you may be asked to verify your account either using Debit card or Credit card. But for this course you do not need to verify your account so do not worry if you do not have debit/credit card.