From ea0d614a52a4cf2fc8f35f260ccf06a6228d70c6 Mon Sep 17 00:00:00 2001
From: kkj6235 <kkj6235@ajou.ac.kr>
Date: Mon, 13 Nov 2023 13:48:01 +0900
Subject: [PATCH] feat : add JWT secret key and expiration time to
 application.properties

---
 src/main/resources/application.properties | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 8c4b895..dd5fcda 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,13 +1,28 @@
 # mySql
+#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+#spring.datasource.url=jdbc:mysql://localhost:3000/study?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=UTF-8&serverTimezone=UTC
+#spring.datasource.username=root
+#spring.datasource.password=1234
+#spring.jpa.properties.hibernate.jdbc.batch_size=100
+
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-spring.datasource.url=jdbc:mysql://localhost:3000/study?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=UTF-8&serverTimezone=UTC
+spring.datasource.url=jdbc:mysql://localhost:3306/umc
 spring.datasource.username=root
-spring.datasource.password=1234
-spring.jpa.properties.hibernate.jdbc.batch_size=100
+spring.datasource.password=6235
+
+spring.jpa.properties.hibernate.show-sql=true
+
+
+logging.level.org.hibernate.type.descriptor.sql=DEBUG
+logging.level.org.hibernate.SQL=DEBUG
+spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
 
 # jpa
 spring.jpa.database=mysql
 spring.jpa.show-sql=true
 spring.jpa.hibernate.ddl-auto=update
 spring.jpa.properties.hibernate.format_sql=true
-spring.jpa.open-in-view=false
\ No newline at end of file
+spring.jpa.open-in-view=false
+
+jwt.secret = rutyweorituwyerotiuweyrtoiuweyrtoweiurtywoeighdfsojkghsdfgsdofiguwyertouw
+jwt.expirationtime = 3600
-- 
GitLab