Conversation
- Store, Event, Application, ReviewSubmission ORM 모델 정의 - app/schemas/event.py 스키마 작성 (EventCreateReq, EventResp, ApplicationSummary 등) - alembic/env.py에 신규 모델 임포트 추가 - tests/conftest.py에 create_store, create_event, create_application 헬퍼 추가 - tests/test_event.py 작성 (TDD — 5개 API에 대한 23개 테스트) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- app/services/event.py 생성 (create_event 서비스 함수) - app/api/v1/endpoints/event.py 생성 (POST /event 엔드포인트) - app/api/v1/router.py에 event 라우터 등록 - 소유하지 않은 상점에 이벤트 생성 시 403, 상점 없으면 404 처리 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- list_owner_events 서비스 함수 추가 (Store JOIN으로 본인 상점 이벤트만 조회)
- GET /event/owner 엔드포인트 추가 (/{eventId} 보다 먼저 등록하여 충돌 방지)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- get_event_or_404 서비스 함수 추가
- GET /event/{eventId} 엔드포인트 추가 (인증 불필요, 없으면 404)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- delete_event 서비스 함수 추가 (store join으로 소유권 확인)
- DELETE /event/{eventId} 엔드포인트 추가 (비소유자 403, 없으면 404)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- list_event_applications 서비스 함수 추가 (소유권 확인, 상태 필터, 페이지네이션)
- GET /event/{eventId}/applications 엔드포인트 추가
- status 쿼리 파라미터 소문자 수신 후 대문자로 변환하여 DB 조회
- hasSubmission: review_submissions 테이블 존재 여부로 판단
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Closed
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.
No description provided.