Skip to content

Commit

Permalink
➕ Chore: Jwt 관련 의존성 추가 및 Auth 기능 패키지 분리 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
win-luck committed Oct 16, 2023
1 parent f1b5e9c commit 6671250
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-webflux'

implementation 'io.netty:netty-resolver-dns-native-macos:4.1.68.Final:osx-aarch_64'

// Jwt dependency
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' // Spring Boot MyBatis
implementation "io.jsonwebtoken:jjwt:0.9.1"
}

tasks.named('test') {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.diareat.diareat.auth;
package com.diareat.diareat.auth.service;

import com.diareat.diareat.auth.component.KakaoUserInfo;
import com.diareat.diareat.auth.dto.KakaoUserInfoResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.diareat.diareat.auth.config;
package com.diareat.diareat.config;

import io.netty.channel.ChannelOption;
import io.netty.handler.timeout.ReadTimeoutHandler;
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/application-db.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ spring.datasource.password=${DB_PASSWORD}

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.format_sql=true

# JWT
jwt.secret=${JWT_KEY}

0 comments on commit 6671250

Please sign in to comment.