KIMJINOH97 / Hotplace-map

졸업프로젝트를 위한 레포지토리
1 stars 1 forks source link

[BACK] 회원기능 추가(SNS 로그인) 및 테이블 #78

Closed WHO-A-U closed 2 years ago

WHO-A-U commented 3 years ago

회원기능

새로운 기능

  1. 북마크 기능
  2. 북마크된 장소 지도에 보여주기

추가되는 테이블

MEMBER TABLE (회원 테이블)

attribute type
id Integer
name String
email String
profileUrl String
provider String
providerId String
createAt LocalDateTime

FAVORITE TABLE (즐겨찾기 테이블 )

attribute type
id Integer
userId Integer
storeId Integer
createAt LocalDateTime

ERD

image

Entity

필요한 의존성 모듈

image

dependencies {
  implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
  implementation 'org.springframework.boot:spring-boot-starter-security'
  testImplementation 'org.springframework.boot:spring-boot-starter-test'
  testImplementation 'org.springframework.security:spring-security-test'
}

jjwt

dependencies {
    implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
    runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2',
            // Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
            //'org.bouncycastle:bcprov-jdk15on:1.60',
            'io.jsonwebtoken:jjwt-jackson:0.11.2' // or 'io.jsonwebtoken:jjwt-gson:0.11.2' for gson
}
KIMJINOH97 commented 3 years ago

member에 profile_url이 없어 DB와 코드에 추가했습니다.

KIMJINOH97 commented 3 years ago
WHO-A-U commented 3 years ago

https://github.com/KIMJINOH97/Hotplace-map/pull/88#discussion_r721116932

설계 방향 변경