How to Connect Spring Boot Project with PostgreSQL Database in VSCode
In this tutorial, I will guide you on how to connect Spring Boot and PostgreSQL. Previously I have shown you how to perform CRUD operations with Spring Boot and MySQL.
Let us follow the steps below.
Prerequisites
- Install Spring Boot into VS Code
- Install PostgreSQL - Download the setup from here.
- Install pgAdmin 4 - You can download it from here
Create a new Spring Boot Project
Step one is to create a new Spring Boot project. Here is an example;