Skip to content
Snippets Groups Projects
Commit ea0d614a authored by Gwan Ju's avatar Gwan Ju
Browse files

feat : add JWT secret key and expiration time to application.properties

parent 4301b8a9
No related branches found
No related tags found
1 merge request!1게시글 작성, 댓글 작성, 유저 관리 기능 추가
# mySql # 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.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.username=root
spring.datasource.password=1234 spring.datasource.password=6235
spring.jpa.properties.hibernate.jdbc.batch_size=100
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 # jpa
spring.jpa.database=mysql spring.jpa.database=mysql
...@@ -11,3 +23,6 @@ spring.jpa.show-sql=true ...@@ -11,3 +23,6 @@ spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.format_sql=true
spring.jpa.open-in-view=false spring.jpa.open-in-view=false
jwt.secret = rutyweorituwyerotiuweyrtoiuweyrtoweiurtywoeighdfsojkghsdfgsdofiguwyertouw
jwt.expirationtime = 3600
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment