- Launch the database with
cd config
anddocker-compose up -d
- Run Spring boot with Idea // Need to be updated with command line
The PostgresSQL image used in the docker-composer file is the following: https://hub.docker.com/_/postgres/
I also use Adminer to make it easier to view the PostgresSQL database. It is an optional development tool that can be removed at any time.
I used these website :
- https://spring.io/guides/gs/maven/
- https://www.callicoder.com/spring-boot-jpa-hibernate-postgresql-restful-crud-api-example/
- https://www.liquibase.org/
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-database-initialization.html
- https://www.baeldung.com/liquibase-refactor-schema-of-java-app
- Need to be completed 😄
Thanks to Brice Buffa for his help and advice