From 428f452e5d6c701a5f665a3f5414323f6a9c5fb9 Mon Sep 17 00:00:00 2001 From: IDLE <83659656+idle2534@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:44:07 +0900 Subject: [PATCH 01/10] =?UTF-8?q?Refactor:=20web,=20thymleaf,=20lombok,=20?= =?UTF-8?q?validate,=20jdbc,=20h2=20implementation=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 57267157c..a847659f3 100644 --- a/build.gradle +++ b/build.gradle @@ -13,9 +13,15 @@ repositories { } dependencies { - implementation 'org.springframework.boot:spring-boot-starter' + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'io.rest-assured:rest-assured:5.3.1' + compileOnly 'org.projectlombok:lombok:1.18.34' + annotationProcessor 'org.projectlombok:lombok' + implementation 'org.springframework.boot:spring-boot-starter-validation' + implementation 'org.springframework.boot:spring-boot-starter-jdbc' + runtimeOnly 'com.h2database:h2' } test { From 53b30fc69d6f76b1b5bc86d73481989a67d6f601 Mon Sep 17 00:00:00 2001 From: IDLE <83659656+idle2534@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:44:32 +0900 Subject: [PATCH 02/10] =?UTF-8?q?Refactor:=20h2=20properties=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e69de29bb..f597afeef 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -0,0 +1,3 @@ +spring.h2.console.enabled=true +spring.h2.console.path=/h2-console +spring.datasource.url=jdbc:h2:mem:database \ No newline at end of file From a54d75e4b3aa3fb7768f4bc87245196a82ed1b17 Mon Sep 17 00:00:00 2001 From: IDLE <83659656+idle2534@users.noreply.github.com> Date: Thu, 7 Nov 2024 09:45:03 +0900 Subject: [PATCH 03/10] =?UTF-8?q?Refactor:=20home=EC=9D=84=20index.html?= =?UTF-8?q?=EB=A1=9C=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/{templates/home.html => static/index.html} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/main/resources/{templates/home.html => static/index.html} (98%) diff --git a/src/main/resources/templates/home.html b/src/main/resources/static/index.html similarity index 98% rename from src/main/resources/templates/home.html rename to src/main/resources/static/index.html index 7ddf752a6..8724f9086 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/static/index.html @@ -20,7 +20,7 @@