diff --git a/backend/application.yml b/backend/application.yml new file mode 100644 index 0000000..541a4fe --- /dev/null +++ b/backend/application.yml @@ -0,0 +1,21 @@ +spring: + datasource: + url: ${DB_URL} + username: ${DB_USER} + password: ${DB_PASSWORD} + driver-class-name: org.postgresql.Driver + + jpa: + hibernate: + ddl-auto: update + show-sql: true + properties: + hibernate: + dialect: org.hibernate.dialect.PostgreSQLDialect + format_sql: true + + application: + name: wesal + +server: + port: 8080 diff --git a/backend/pom.xml b/backend/pom.xml index ba34886..c085247 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -28,6 +28,8 @@ 21 + 21 + 21 @@ -96,7 +98,17 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + 21 + 21 + 21 + + - + \ No newline at end of file