Add initial database migration script to create tables and seed data.
Add Dockerfile and docker-compose.yml for containerizing the Spring Boot application with PostgreSQL
This commit is contained in:
@@ -20,6 +20,8 @@ repositories {
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter'
|
||||
implementation 'org.projectlombok:lombok:1.18.26'
|
||||
implementation 'org.projectlombok:lombok:1.18.26'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
implementation 'jakarta.persistence:jakarta.persistence-api:3.1.0'
|
||||
@@ -30,6 +32,9 @@ dependencies {
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
|
||||
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' // For JSON serialization/deserialization
|
||||
implementation 'org.postgresql:postgresql:42.6.0'
|
||||
implementation 'org.flywaydb:flyway-core'
|
||||
implementation("org.flywaydb:flyway-database-postgresql:10.4.1")
|
||||
|
||||
}
|
||||
|
||||
// copyResouces( type:Copy
|
||||
|
||||
Reference in New Issue
Block a user