-
Notifications
You must be signed in to change notification settings - Fork 1
큐레이션 API 구현 & Place/Festival 관련 리팩토링 #60
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
Conversation
…로 지정 - build.gradle 수정
- 큐레이션 조회 API 구현 - FestivalUtil 클래스 - Date 데이터 날짜까지 구하는 메서드 작성
Walkthrough빌드에서 Hibernate 코어 의존성을 비활성화하고 Kotlin allOpen/noArg 설정을 추가했습니다. 페스티벌/플레이스 좋아요 엔티티의 open 제거 및 복합키 제네릭 정정, DTO 일부 필드 nullable 변경, 새 JPQL 메서드 추가, 홈 큐레이션 API(컨트롤러·서비스·컨버터·DTO·유틸) 추가, CORS에 PATCH 허용, 리프레시 토큰 저장 시 userId nullable 허용이 포함됩니다. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant HC as HomeController
participant HQS as HomeQueryService
participant PR as PlaceRepository
participant FR as FestivalRepository
participant CC as CurationConverter
participant AR as ApiResponse
Client->>HC: GET /api/home/curation
HC->>HQS: getCurations()
HQS->>PR: findPlaceImageNotNull()
PR-->>HQS: List<Place>
alt insufficient places
HQS-->>HC: throw PLACE_NOT_FOUND
HC-->>Client: Error response
else sufficient
HQS->>FR: findFestivalImageNotNull()
FR-->>HQS: List<Festival>
alt insufficient festivals
HQS-->>HC: throw FESTIVAL_NOT_FOUND
HC-->>Client: Error response
else sufficient
HQS->>CC: toListDto(places, festivals)
CC-->>HQS: CurationList
HQS-->>HC: CurationList
HC->>AR: onSuccess(CurationList)
AR-->>Client: 200 OK + payload
end
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Free 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (17)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
홈화면 큐레이션 API 구현
좋아요 관련 리팩토링
Cors 문제 해결
엔티티 생성 문제 해결
Summary by CodeRabbit