Skip to content

Commit

Permalink
KNU-HAEDAL#1 feat: 회원가입을 위한 폴더 구조 제작
Browse files Browse the repository at this point in the history
  • Loading branch information
momnpa333 committed Apr 5, 2024
1 parent 76b91f2 commit 4df947c
Show file tree
Hide file tree
Showing 15 changed files with 76 additions and 13 deletions.
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@
- controller 폴더
### 0.2. h2 db 연결
# 1. 기프티콘 구현
### 1.1. Entity 생성
- `User`
- `Gifticon`

### 1.2. Repository 생성

### 1.3. Service 생성

### 1.4. Controller 생성

# 2. 회원가입 및 로그인 구현
- [x] 엔티티 구현
- [x] 레포지토리 구현
- [x] 서비스 구현
- [x] 컨트롤러 구현
- [ ] 테스트 코드 작성
- [x] API 문서 작성
- [ ] API 테스트
- [x] 예외 처리
- [ ] 예외 처리 테스트
# 2. 회원가입 및 로그인 구현
- [x] 클라이언트- 인가코드 받기
- [x] 클라이언트- 인가 코드를 서버에 넘기기
- [ ] 서버- 카카오 엑세스 토큰 받기
- [ ] 서버- 카카오 리소스 서버에서 유저 정보 받기
- [ ] 서버- 유저 정보를 DB에 저장하기
- [ ] 서버- 로그인 구현
- [ ] 서버- 회원가입 구현
- [ ] 테스트 코드 작성
- [ ] API 문서 작성
- [ ] API 테스트
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.controller.auth;

public class AuthController {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package team.haedal.gifticionfunding.controller;
package team.haedal.gifticionfunding.controller.gifticon;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
Expand Down Expand Up @@ -32,7 +32,6 @@ public class GifticonController {
@ApiResponse(responseCode = "200", description = "기프티콘 전체 조회 성공"),
@ApiResponse(responseCode = "400", description = "잘못된 요청"),
@ApiResponse(responseCode = "500", description = "서버 오류")

})
@GetMapping()
@ResponseStatus(HttpStatus.OK)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.controller.user;

public class UserController {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.entity.auth;

public class AuthReqestModel {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.entity.user;

public class UserRefreshToken {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.global.config.properties;

public class AppProperties {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.global.config.properties;

public class CorsProperties {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.global.config.security;

public class JwtConfig {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.global.config.security;

public class SecurityConfig {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package team.haedal.gifticionfunding.oauth.token;

import lombok.extern.slf4j.Slf4j;


public class AuthToken {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.repository.user;

public class UserRefreshTokenRepository {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.service.user;

public class UserService {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.utils;

public class CookieUtil {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package team.haedal.gifticionfunding.utils;

public class HeaderUtil {
}

0 comments on commit 4df947c

Please sign in to comment.