https://github.com/claudioaltamura/spring-boot-jpa-superheroes
Spring Boot JPA example
https://github.com/claudioaltamura/spring-boot-jpa-superheroes
docker-compose github-actions gradle jpa liquibase postgresql spring-boot testcontainers
Last synced: 5 months ago
JSON representation
Spring Boot JPA example
- Host: GitHub
- URL: https://github.com/claudioaltamura/spring-boot-jpa-superheroes
- Owner: claudioaltamura
- License: mit
- Created: 2022-05-09T14:47:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-19T15:32:46.000Z (8 months ago)
- Last Synced: 2025-11-19T17:24:24.149Z (8 months ago)
- Topics: docker-compose, github-actions, gradle, jpa, liquibase, postgresql, spring-boot, testcontainers
- Language: Java
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://opensource.org/licenses/MIT)
# spring-boot-jpa-superheroes
Spring Boot JPA example
* @DataJpaTest with Testcontainers
* Liquibase
* ...
## Liquibase init
Postgres https://docs.liquibase.com/start/tutorials/postgresql.html
liquibase init project \
--project-dir=./src/main/resources/liquibase \
--changelog-file=db.changelog-master.yaml \
--format=yaml \
--project-defaults-file=liquibase.properties \
--url=jdbc:postgresql://localhost:5432/superheroes \
--username=hero \
--password=1234
### Liquibase generate and
https://docs.liquibase.com/commands/home.html
cd src/main/resources/db
liquibase generate-changelog
liquibase changelog-sync
liquibase status
liquibase clear-checksums
#### Maven
https://docs.liquibase.com/tools-integrations/maven/commands/home.html