-
Notifications
You must be signed in to change notification settings - Fork 1
검색, 이용분포, 홈화면 조회 API #45
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
Walkthrough여러 신규 엔티티, DTO, 서비스, 컨트롤러, 레포지토리 및 enum이 도입되어 홈 및 검색 API 기능이 추가되었습니다. 장소의 방문자 분포 관련 도메인/쿼리 기능이 확장되었고, 기존 enum 및 레포지토리, 유틸리티 클래스에 일부 수정이 반영되었습니다. GitHub Actions 워크플로우 및 일부 컨트롤러, 서비스, 도메인 클래스에도 보완이 이루어졌습니다. Changes
Sequence Diagram(s)홈화면 정보 조회 흐름sequenceDiagram
participant Client
participant HomeController
participant HomeQueryService
participant PlaceRepository
participant PlaceRedisUtil
Client->>HomeController: GET /api/home
HomeController->>HomeQueryService: getHomeInfo()
HomeQueryService->>PlaceRepository: findAllWithImages()
HomeQueryService->>PlaceRedisUtil: getCongestion(placeId)
HomeQueryService-->>HomeController: HomeResultDto
HomeController-->>Client: ApiResponse(HomeResultDto)
검색 결과 조회 흐름sequenceDiagram
participant Client
participant SearchController
participant SearchQueryService
participant PlaceRepository
participant FestivalRepository
participant PlaceRedisUtil
Client->>SearchController: GET /api/search?option&sort
SearchController->>SearchQueryService: getSearchResult(option, sort)
SearchQueryService->>PlaceRepository: findAllWithLikesAndOpenTimeByType() / findAllWithLikesAndOpenTime()
SearchQueryService->>FestivalRepository: findAllWithFetch()
SearchQueryService->>PlaceRedisUtil: getCongestion(placeId)
SearchQueryService-->>SearchController: ListDto
SearchController-->>Client: ApiResponse(ListDto)
장소 방문자 분포 조회 흐름sequenceDiagram
participant Client
participant PlaceCongestionController
participant PlaceCongestionQueryService
participant PlaceRepository
participant VisitorDistributionRepository
Client->>PlaceCongestionController: GET /api/place/{id}/distribution
PlaceCongestionController->>PlaceCongestionQueryService: getDistribution(placeId)
PlaceCongestionQueryService->>PlaceRepository: findWithDistribution(placeId)
alt 분포 없음
PlaceCongestionQueryService->>VisitorDistributionRepository: save(new VisitorDistribution)
end
PlaceCongestionQueryService-->>PlaceCongestionController: PlaceUserDistributionDto
PlaceCongestionController-->>Client: ApiResponse(PlaceUserDistributionDto)
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40분 Poem
Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (21)
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 comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
검색 API
이용분포 조회 API
홈화면 조회 API
Summary by CodeRabbit
신규 기능
개선 및 변경
버그 수정
기타