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

Feat: 리뷰 v2 api 구현 #109

Open
wants to merge 19 commits into
base: dev
Choose a base branch
from
Open

Feat: 리뷰 v2 api 구현 #109

wants to merge 19 commits into from

Conversation

chaeyeon0130
Copy link
Collaborator

@chaeyeon0130 chaeyeon0130 commented Dec 20, 2024

작업 내용

  • 이번 리뷰 v2의 주요 변화는 기존 리뷰가 menu와의 연관관계에서 meal로 변경된 점입니다.
  • 이에 따라, 리뷰 테이블에 meal과의 연관관계를 추가하였습니다.
  • menu 테이블에 likeCount, unlikeCount 컬럼이 추가되었습니다.
    • 리뷰를 통해 얻은 menu의 like, unlike 정보를 review_menu_like 테이블에서 관리합니다. (review<->review_menu_like<->menu 1:N:1 관계입니다.)
  • 리뷰 v2 api를 구현하였습니다.
    • 리뷰 작성
    • 리뷰 수정
    • 리뷰 삭제
    • 특정 식당 모든 리뷰 조회(기존 리뷰 정보 조회 api의 역할)
    • 리뷰 리스트 조회(기존 리뷰 리스트 조회 api의 역할)
    • 내가 쓴 리뷰 리스트 조회
  • resolved: [Fix] 닉네임 기본 설정 null 수정 #107 > 해당 이슈 해결하였습니다.(045011c) 로그인 시, 기본 닉네임을 user-uuid(4글자로 조정)로 설정하였습니다.

리뷰 요청사항

  • MealReviewService & Review 클래스 내 메서드의 길이가 어마무시한데 어떻게 리팩토링하면 좋을까요...?.. 좋은 아이디어가 있으면 마구 던져주세요:)

@chaeyeon0130 chaeyeon0130 self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix] 닉네임 기본 설정 null 수정
1 participant