페이지
모달
Backend API
1. 인증/사용자 관리
POST /api/auth/signup
- 회원가입
POST /api/auth/login
- 로그인
POST /api/auth/logout
- 로그아웃
GET api/auth/google/callback
- Google OAuth 인증
POST /api/auth/refresh-token
- 액세스 토큰 재발급
2. 마켓플레이스
- 포토카드 판매
POST /api/store/cards
- 판매 등록 (다은)
GET /api/store
- 전체 카드 조회
GET /api/store/cards/:saleId
- 카드 상세 조회
DELETE /api/store/cards/:saleId
- 판매 내리기 (다은)
PATCH /api/store/cards/:saleId
- 판매 수정 (다은)
- 포토카드 구매
POST /api/store/cards/:listed-card-id/purchase
- 구매 처리
- 교환 기능
POST /api/store/cards/:listed-card-id/exchange
- 교환 제안
PATCH /api/store/cards/:listed-card-id/trade/exchange/:id/cancel
- 교환 취소
get /api/store/cards/:saleId/exchange
-교환 요청 목록 조회(구매자)
GET /api/store/cards/:saleId/trade-requests
- 교환 제안 목록 (다은)
PATCH /api/store/trade/:tradeRequestId/accept
- 교환 제안 승인 (다은)
PATCH /api/store/trade/:tradeRequestId/reject
- 교환 제안 거절 (다은)