Commit graph

3 commits

Author SHA1 Message Date
b64710c8fd refactor(frontend-temp): 스케줄 API도 새 형식에 맞게 업데이트
- flattenScheduleResponse → transformSchedule 함수로 변경
- 새 API 형식(schedules 배열, datetime, category 객체) 지원

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 00:45:55 +09:00
d660340cc5 fix(frontend): getUpcomingSchedules에 flattenScheduleResponse 적용
- 백엔드 응답(날짜별 그룹 객체)을 배열로 변환
- 필드명 snake_case 통일 (category_id, category_name, category_color)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:24:51 +09:00
fe067ca8c8 feat(frontend): Phase 4 - API 계층 구현
- api/client.js: fetch 래퍼, ApiError, 헬퍼 함수 (get/post/put/del)
- api/auth.js: 로그인, 토큰 검증
- api/schedules.js: 스케줄/카테고리 API (공개 + 어드민)
- api/albums.js: 앨범 API (공개 + 어드민)
- api/members.js: 멤버 API (공개 + 어드민)
- docs: useQuery 사용 가이드라인 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 17:17:56 +09:00