main
- 실제 배포 CI/CD용 branch
develop
- 개발 CI/CD용 branch
feature
- 기능 구현용 branch
- 반드시
develop
에서 뻗어나와 develop으로merge
되어야한다.
-
Issue 발행
-
리뷰어 설정
-
branch 생성 :
issue_name/issue_number
ex)
feature/12
refactor/35
-
-
git fetch
&&git pull
chore
: gradle 의존성 주입 및 yml 설정 등 프로젝트 기본 세팅feature
: 기능 구현fix
: 버그 수정refactor
: 코드 리팩토링reconstruct
: 프로젝트 구성 변경test
: 테스트 코드
[Issue_종류(소문자)] 구현_내용 #이슈_번호
ex) [feature] 000 기능 추가 #2
- Pull Request만 날리고, Approve는 reviewer가 한다.
[Issue_종류(소문자)] PR 제목 (작업 내용)
config
: security, aws 등 설정 정보domain
: entityenums
common
mapping
다대다
converter
: entity ↔ dtopayload
: 응답에 실을 내용repository
service
validation
: 유효성 검증 annotation 및 validatorweb
dto
controller
- annotation은 한 줄에 하나만
- 당연히 camelCasing
xxxDto
- request, response 패키지로 분리하고, 관련 DtoClass안에 static class를 두자
dto
(package)request
(package)xxxRequestDto
(class)yyyDto
(static class)
response
(package)xxxResponseDto
zzzDto
(static class)