SpringBoot ,JPA를 사용한 리팩토링 프로젝트
WorkFlow(전자 결재) 시스템 개발
- Back-end : Java, Spring Boot, JPA, Spring MVC,Gradle,Junit5, Spring Security, JWT, QueryDSL
- DB : MySQL, Redis
- Developer Tools : intelliJ / MySQL Workbench
- AWS-EC2, Docker
- PostMan , SourceTree, Swagger
master : 배포용 브랜치
develop : 기능 merge용 브랜치
feature : 기능 개발 브랜치
release : QA 브랜치
hotfix : master 브랜치로 배포 후 수정 브랜치
-
객체 참조
- 연관 관계 설정 기준 : 함께 생성되고 함께 삭제되는 객체들
ex) document - attachment (attachment 객체의 생애 주기가 document에 종속적, 양방향 관계)
- 연관 관계 설정 기준 : 함께 생성되고 함께 삭제되는 객체들
-
id참조
- 기준 외 객체들은 객체 간 연관 관계 없이 id 참조로 약한 결합
ex) employee - dept : id를 이용해 접근(dept는 약한 결합도 탐색인 repository를 통한 탐색)
- 기준 외 객체들은 객체 간 연관 관계 없이 id 참조로 약한 결합
api-module : Controller, Exception , DTO(Request)
domain-module :Service, DTO(Request, Response) Exception
data- module : Entity, Repository
common-moudule : Enums
jwt-module : Service,DTO,Config,Security,Exception
Redis-module : config