Go to https://start.spring.io/ to generate a SpringProject. Select Maven as project type.
Add Spring Web, Spring Data JPA and PostgreSQL Driver as dependencies
Unzip the folder and import the project to IntelliJIDEA (or Eclipse)
Create a server & PostgreSQL database
Go to https://postgresapp.com/ to download & install Postgres app
Run Postgres app and start a PostgreSQL server at port 5432 (mine is at port 5433)
Go to https://tableplus.com/ to download & install TablePlus app
Run Postgres app and create a new connection at your port
Create a new database at that connection
Project Structure
Create the sub packages and classes for the project
Get Started
Go to https://start.spring.io/ to generate a SpringProject. Select
Maven
as project type. AddSpring Web
,Spring Data JPA
andPostgreSQL Driver
as dependencies Unzip the folder and import the project to IntelliJIDEA (or Eclipse)Create a server & PostgreSQL database
Go to https://postgresapp.com/ to download & install Postgres app Run Postgres app and start a PostgreSQL server at port 5432 (mine is at port 5433) Go to https://tableplus.com/ to download & install TablePlus app Run Postgres app and create a new connection at your port Create a new database at that connection
Project Structure
Create the sub packages and classes for the project