[FE] 백엔드 스웨거 문서의 타입과 동기화 및 좌석 렌더링 방식 변경#62
Merged
JichanPark12 merged 23 commits intodevfrom Jan 19, 2026
Merged
Conversation
- 달력 css 수정 - 데이터에 표시된 날짜만 선택 가능하도록 수정
- 추후 서버 배포시 제거애햐됨
- CI 문제 해결결 - '@nestjs/common' 및 '@nestjs/core'의 버전을 11.1.11에서 11.1.12로 변경
viixix
approved these changes
Jan 19, 2026
Collaborator
viixix
left a comment
There was a problem hiding this comment.
수고하셨습니다! 락파일 충돌은 제가 해결했습니다
shininghyunho
approved these changes
Jan 19, 2026
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
백엔드의 스웨거 문서를 참고하여 프론트 mock 데이터를 변경하고 좌석 렌더링 하는 방식을 전체 구역 표시 => 구역 클릭 => 세부 좌석 표시 형태로 변경했습니다.
2026-01-16.114554.mp4
🔗 Linked Issue
Closes: #60 #22
🛠 개발 기능(작업 내용)
🧩 주요 고민과 해결 방법
캐싱 처리 주기를 몇으로 해야하나
백엔드 서버에서 주는 데이터를 캐싱을 완전히 동기화 할 수 없다는 이슈가 있습니다. 공연 정보가 5분마다 변경된다 가정해도 next에서 캐싱을 5분주기로 잡을 경우 둘의 시간이 완전히 일치한다는 보장을 할 수 없기 때문입니다. 그래서 캐싱 주기를 1분으로 잡아 해당 동기화 문제를 해결하고자 했습니다.
좌석 데이터를 어떻게 어디서 만드는게 좋을지
현재 좌석 데이터는 따로 오지 않고 block, grade, block-grade 등 정보들을 따로 요청하여 가져와야합니다. 이 데이터들을 어떻게 조합해야 selector에 넣을 좌석 정보를 만들 수 있을지 고민했습니다. 해당 데이터가 상태로 공유되며 가격표시, 구역번호, 등의 정보를 표시해줘야하기에 아래와 같은 내용으로 타입을 정의하고 데이터를 만들었습니다.
좌석 데이터의 경우 구역을 클릭 시 좌석 세부정보가 보이는데 보통은 이 때 서버에서 좌석 정보를 가져오지만 현재는 그런 내용이 없어 해당 부분에서 좌석 데이터를 만드는 방식을 선택했습니다. 좌석 id의 경우 구역이름-row-col 로 설정했습니다.
🔍 리뷰 포인트
📋 Code Review Priority Guideline