diff --git a/server/build.gradle b/server/build.gradle index 0b483da..73eb0b4 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -22,14 +22,11 @@ repositories { } dependencies { - implementation 'org.springframework.boot:spring-boot-starter-actuator' -// implementation 'org.springframework.boot:spring-boot-starter-data-rest' implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.security:spring-security-test' - compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'com.h2database:h2' runtimeOnly 'org.mariadb.jdbc:mariadb-java-client' diff --git a/server/src/main/resources/application-dev.properties b/server/src/main/resources/application-dev.properties new file mode 100644 index 0000000..79667a0 --- /dev/null +++ b/server/src/main/resources/application-dev.properties @@ -0,0 +1,4 @@ +jwt.secret=JKLASJKLASJKLJHKLDFAHJKFDSHJKFJHKDSHJKFHJKSDFJHKSDJHKFJHS98346783467899782345jkhgsdoigh938g +logging.level.root=DEBUG +logging.level.org.springframework.security=DEBUG +spring.datasource.url=jdbc:h2:file:~/tjvserver.h2 diff --git a/server/src/main/resources/application.properties b/server/src/main/resources/application.properties index 44dc159..cffb7dc 100644 --- a/server/src/main/resources/application.properties +++ b/server/src/main/resources/application.properties @@ -1,6 +1,2 @@ -jwt.secret=JKLASJKLASJKLJHKLDFAHJKFDSHJKFJHKDSHJKFHJKSDFJHKSDJHKFJHKS98346783467899782345jkhgsdoigh938g jwt.expiryMinutes=20 -logging.level.root=DEBUG -logging.level.org.springframework.security=DEBUG -spring.datasource.url=jdbc:h2:file:~/tjvserver.h2 spring.jpa.hibernate.ddl-auto=update \ No newline at end of file