tiwarisanjay / spring-boot-jpa-postgresql

Spring Boot with Post Gress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot + Spring data JPA + PostgreSQL example

Technologies used:

Technologies used:

  • Spring Boot 3.1.2
  • Spring Data JPA (Hibernate 6 is the default JPA implementation)
  • PostgreSQL 15
  • Maven
  • Java 17
  • JUnit 5
  • REST Assured and Testcontainers (for Spring integration tests using a container)

Setup Postgress ( I am using Mac M1)

sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp
ALTER USER sanjaytiwari PASSWORD 'sanjaytiwari';

How to run it

$ git clone https://github.com/tiwarisanjay/spring-boot-jpa-postgresql.git

$ cd spring-boot-jpa-postgresql

$ ./mvnw clean package -Dmaven.test.skip=true

$ ./mvnw spring-boot:run

About

Spring Boot with Post Gress


Languages

Language:Java 100.0%