Technologies used:
- Spring Boot 3.1.2
- Spring Data JPA (Hibernate 6 is the default JPA implementation)
- PostgreSQL 15
- Maven
- Java 17
- JUnit 5
- Docker
- REST Assured and Testcontainers (for Spring integration tests using a container)
$ git clone [https://github.com/mkyong/spring-boot.git](https://github.com/mkyong/spring-boot.git)
$ cd spring-data-jpa-postgresql
$ ./mvnw clean package -Dmaven.test.skip=true
$ docker run --name pg1 -p 5432:5432 -e POSTGRES_USER=mkyong -e POSTGRES_PASSWORD=password -e POSTGRES_DB=mydb -d postgres:15-alpine
$ ./mvnw spring-boot:run