You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add: 좋아요 도메인
- likes 테이블 생성
- userId와 postId FK
* add: 좋아요 생성 및 취소 기능
* add: 게시물 좋아요 개수 증가/감소 기능
- JPQL UPDATE 사용을 위해 @Modifying
* add: Like 관련 에러 메시지 및 테스트용 entity 생성
* add: 좋아요 생성 및 취소 API, LikeRequestDto
* add: testUtils 수정으로 인한 Post 데이터 값 변경
* add: 좋아요 리포지토리와 서비스 테스트
- repository : 추가한 findByUserAndPost 메서드만 진행
- service : BDDMockito 테스트
* add: 좋아요 컨트롤러 테스트 및 Rest docs 생성
* add: build를 위한 test Lombok 제거
* add: 좋아요 생성 API 수정 및 LikeDto userId 변경
- 컨트롤러 API에 postId 추가
- @AuthenticationPrincipal 처리
🚀 목적
사용자는 특정 게시물의
좋아요
를 표시할 수 있다.🔗 작업
✅ 완료조건
The text was updated successfully, but these errors were encountered: