diff --git a/BrickLog-Server/pom.xml b/BrickLog-Server/pom.xml index 0426d42..19ffb1c 100644 --- a/BrickLog-Server/pom.xml +++ b/BrickLog-Server/pom.xml @@ -72,6 +72,12 @@ ${java.version} ${java.version} + + + + com.example.bricklog + + diff --git a/BrickLog-Server/target/BrickLog-Server-0.1-SNAPSHOT.jar b/BrickLog-Server/target/BrickLog-Server-0.1-SNAPSHOT.jar index da653aa..966b904 100644 Binary files a/BrickLog-Server/target/BrickLog-Server-0.1-SNAPSHOT.jar and b/BrickLog-Server/target/BrickLog-Server-0.1-SNAPSHOT.jar differ diff --git a/BrickLog-Server/target/classes/com/example/bricklog/BrickLogApplication.class b/BrickLog-Server/target/classes/com/example/bricklog/BrickLogApplication.class index 0c6a044..68455e2 100644 Binary files a/BrickLog-Server/target/classes/com/example/bricklog/BrickLogApplication.class and b/BrickLog-Server/target/classes/com/example/bricklog/BrickLogApplication.class differ diff --git a/BrickLog-Server/target/classes/com/example/bricklog/controller/LegoBuildController.class b/BrickLog-Server/target/classes/com/example/bricklog/controller/LegoBuildController.class index 0b74f11..92f2732 100644 Binary files a/BrickLog-Server/target/classes/com/example/bricklog/controller/LegoBuildController.class and b/BrickLog-Server/target/classes/com/example/bricklog/controller/LegoBuildController.class differ diff --git a/BrickLog-Server/target/classes/com/example/bricklog/model/LegoBuild.class b/BrickLog-Server/target/classes/com/example/bricklog/model/LegoBuild.class index 4e7b9e5..2fcf428 100644 Binary files a/BrickLog-Server/target/classes/com/example/bricklog/model/LegoBuild.class and b/BrickLog-Server/target/classes/com/example/bricklog/model/LegoBuild.class differ diff --git a/BrickLog-Server/target/classes/com/example/bricklog/repository/LegoBuildRepository.class b/BrickLog-Server/target/classes/com/example/bricklog/repository/LegoBuildRepository.class index 7c9fb5d..0125d94 100644 Binary files a/BrickLog-Server/target/classes/com/example/bricklog/repository/LegoBuildRepository.class and b/BrickLog-Server/target/classes/com/example/bricklog/repository/LegoBuildRepository.class differ diff --git a/BrickLog-Server/target/classes/resources/application.properties b/BrickLog-Server/target/classes/resources/application.properties new file mode 100644 index 0000000..f47c8ff --- /dev/null +++ b/BrickLog-Server/target/classes/resources/application.properties @@ -0,0 +1,10 @@ +# Database configuration +spring.datasource.url=jdbc:mariadb://host.docker.internal:3306/bricklog +spring.datasource.username=bricklog +spring.datasource.password=sl0gg1ngBricks4llD4y + + +# JPA settings +spring.jpa.hibernate.ddl-auto=update # Creates tables automatically; set to 'none' in production if not needed +spring.jpa.show-sql=true # Shows SQL queries in the console, useful for debugging +spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect