Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] 패키지 / 코드 리팩토링 #109

Open
beginin15 opened this issue Mar 27, 2020 · 1 comment · Fixed by #114
Open

[BE] 패키지 / 코드 리팩토링 #109

beginin15 opened this issue Mar 27, 2020 · 1 comment · Fixed by #114
Assignees
Labels
enhancement New feature or request

Comments

@beginin15
Copy link
Contributor

beginin15 commented Mar 27, 2020

  • 패키지 구분을 명확하게 하려고 합니다.
  • 전반적인 코드 리팩토링을 진행하려고 합니다.
@beginin15 beginin15 changed the title [] [BE] 패키지 리팩토링 Mar 27, 2020
@ksundong ksundong self-assigned this Mar 27, 2020
@ksundong
Copy link
Member

엥 이거 왜 description이 없죠 ㅋㅋㅋㅋㅋ

@ksundong ksundong added the enhancement New feature or request label Mar 27, 2020
@ksundong ksundong added this to the 회원가입 페이지 milestone Mar 27, 2020
@beginin15 beginin15 changed the title [BE] 패키지 리팩토링 [BE] 패키지 / 코드 리팩토링 Mar 27, 2020
beginin15 added a commit that referenced this issue Mar 27, 2020
- common 패키지 : 공통적으로 필요한 패키지를 모아둠.
- common/exception 패키지 : 커스텀 예외 처리 클래스를 모아둠.
- common/response 패키지 : 응답 객체를 모아둠.
- domain 패키지 : entity 클래스와 repository를 모아둠.
beginin15 added a commit that referenced this issue Mar 27, 2020
- 로그인 세션과 관련된 기능을 모아둔 HttpSessionUtils 클래스 정의
- User 클래스에서만 사용하는 Gender enum을 중첩 enum 으로 선언
- ApiUserController에서 InvalidParameterException에 대한 에러 응답 객체를 반환하도록 변경
ksundong pushed a commit that referenced this issue Mar 27, 2020
- common 패키지 : 공통적으로 필요한 패키지를 모아둠.
- common/exception 패키지 : 커스텀 예외 처리 클래스를 모아둠.
- common/response 패키지 : 응답 객체를 모아둠.
- domain 패키지 : entity 클래스와 repository를 모아둠.
ksundong pushed a commit that referenced this issue Mar 27, 2020
- 로그인 세션과 관련된 기능을 모아둔 HttpSessionUtils 클래스 정의
- User 클래스에서만 사용하는 Gender enum을 중첩 enum 으로 선언
- ApiUserController에서 InvalidParameterException에 대한 에러 응답 객체를 반환하도록 변경
@ksundong ksundong reopened this Mar 27, 2020
ksundong added a commit that referenced this issue Mar 27, 2020
 - Jay와 얘기해서 패키지 구조를 변경하였습니다.
beginin15 pushed a commit that referenced this issue Mar 27, 2020
 - Jay와 얘기해서 패키지 구조를 변경하였습니다.
ksundong added a commit that referenced this issue Mar 27, 2020
 - 최상위 CustomException인 BusinessException을 생성하고 그 하위 Exception으로 구조를 변경하였습니다.
 - User 생성시 validation에 실패하면 발생하는 Exception을 생성하였습니다.
beginin15 pushed a commit that referenced this issue Mar 27, 2020
 - 최상위 CustomException인 BusinessException을 생성하고 그 하위 Exception으로 구조를 변경하였습니다.
 - User 생성시 validation에 실패하면 발생하는 Exception을 생성하였습니다.
beginin15 added a commit that referenced this issue Mar 27, 2020
- common 패키지 : 공통적으로 필요한 패키지를 모아둠.
- common/exception 패키지 : 커스텀 예외 처리 클래스를 모아둠.
- common/response 패키지 : 응답 객체를 모아둠.
- domain 패키지 : entity 클래스와 repository를 모아둠.
beginin15 added a commit that referenced this issue Mar 27, 2020
- 로그인 세션과 관련된 기능을 모아둔 HttpSessionUtils 클래스 정의
- User 클래스에서만 사용하는 Gender enum을 중첩 enum 으로 선언
- ApiUserController에서 InvalidParameterException에 대한 에러 응답 객체를 반환하도록 변경
beginin15 pushed a commit that referenced this issue Mar 27, 2020
 - Jay와 얘기해서 패키지 구조를 변경하였습니다.
beginin15 pushed a commit that referenced this issue Mar 27, 2020
 - 최상위 CustomException인 BusinessException을 생성하고 그 하위 Exception으로 구조를 변경하였습니다.
 - User 생성시 validation에 실패하면 발생하는 Exception을 생성하였습니다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants