An example project using Spring Boot and Hibernate implementing a simple game named Rabbits, Carrots and Foxes.
This project requires PostgreSQL with schema described in schema.sql
.
PostgreSQL connection params can be set in application.properties
.
One start PostgreSQL with this command:
$ docker run -it -p 5432:5432 -e POSTGRES_PASSWORD=pass1234 --name=example-hibernate postgres
Then, start the Spring Boot project:
$ gradle bootRun