feat: add bingo board management api#318
Merged
CSE-Shaco merged 1 commit intoGDGoCINHA:developfrom Mar 15, 2026
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
Walkthrough빙고 게임 기능을 구현하는 PR로서, 빙고 보드 엔티티, 리포지토리, 서비스, 컨트롤러 및 DTO를 추가하고, 인증된 사용자의 정보 조회 엔드포인트를 새로 구현했습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant BingoBoardController
participant BingoBoardService
participant BingoBoardRepository
participant Database
Client->>BingoBoardController: GET /api/v1/game/bingo/boards/{teamNumber}
BingoBoardController->>BingoBoardService: findBoard(teamNumber)
BingoBoardService->>BingoBoardRepository: findByTeamNumber(teamNumber)
BingoBoardRepository->>Database: SELECT FROM bingo_board
Database-->>BingoBoardRepository: BingoBoard entity
BingoBoardRepository-->>BingoBoardService: Optional<BingoBoard>
BingoBoardService->>BingoBoardService: buildRankedResponses()
BingoBoardService-->>BingoBoardController: BingoBoardResponse
BingoBoardController-->>Client: ResponseEntity<ApiResponse<BingoBoardResponse>>
sequenceDiagram
participant Client
participant AdminBingoBoardController
participant BingoBoardService
participant BingoBoardRepository
participant BingoInteractionRepository
participant Database
Client->>AdminBingoBoardController: PUT /api/v1/admin/game/bingo/boards/{teamNumber}
AdminBingoBoardController->>BingoBoardService: updateBoard(teamNumber, request)
BingoBoardService->>BingoBoardRepository: findByTeamNumber(teamNumber)
BingoBoardRepository->>Database: SELECT FROM bingo_board
Database-->>BingoBoardRepository: BingoBoard (또는 null)
BingoBoardRepository-->>BingoBoardService: Optional<BingoBoard>
BingoBoardService->>BingoBoardService: 마크 업데이트 및 상호작용 추출
BingoBoardService->>BingoBoardRepository: save(updated board)
BingoBoardRepository->>Database: INSERT/UPDATE bingo_board
BingoBoardService->>BingoInteractionRepository: saveAll(interactions)
BingoInteractionRepository->>Database: INSERT INTO bingo_interaction
Database-->>BingoInteractionRepository: Success
BingoBoardService-->>AdminBingoBoardController: BingoBoardResponse
AdminBingoBoardController-->>Client: ResponseEntity<ApiResponse<BingoBoardResponse>>
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 연관된 이슈
✨ 작업 내용
💬 리뷰 요구사항(선택)
Summary by CodeRabbit
릴리스 노트
새로운 기능
개선 사항