- 이창호 오늘할일
- 헤어샵 ( feature/hairshop)
- CRUD code 작성
- TEST code 작성
- Repository
- Service
- Controller(RestDoc)
- 디자이너 (feature/designer)
- CRUD code 작성
- TEST code 작성
- Repository
- Service
- Controller(RestDoc)
- 최연호
- 예약 (feature/reservation)
- Entity class 생성
- CRUD
- Test code
- 예약자별 예약 조회
- Repository에서 queryMethod 추가
- 이수연
- springsecurity흐름파악 → entity수정할수도
- 이일환
- db 셋팅
- 간이 Entity 생성
- 헤어샵별 예약 확인, 취소 기능 구현을 위한 최소한의 엔터티
- user, hairshop, designer, menu 의 id, name 정도만
- 예약
- 예약 취소 기능 구현
- 취소 시 발생할 수 있는 예외 구현
- yaml database관련 설정
- dialect는 mysql8로 함.
spring: jpa: show-sql:true hibernate: ddl-auto: create-drop properties: hibernate: dialect: org.hibernate.dialect.MySQL8Dialect datasource: url: jdbc:mysql://localhost:3306/kokoa username: root password: hikari: maximum-pool-size: 20
- 예약자, 헤어샵별 예약 조회, 삭제 기능에 대해
- user controller, hairshop controller에서 해결
- GET /users/1/reservations 와 같이
- service 단에서 reservation에 대한 의존성 발생
- reservation controller에서 해결
- GET /reservations/users/1 과 같이
- service 단에서 의존성 발생 X
- 2번 방안 채택