Commit graph

5 commits

Author SHA1 Message Date
67a41d78ea refactor: 폴더 구조 재편 (Phase 1)
- api/: common/, pc/common/, pc/public/, pc/admin/ 구조로 변경
- components/: pc/public/, pc/admin/ 구조로 변경
- hooks/: common/, pc/admin/ 구조로 변경
- pages/: pc/public/, mobile/ 구조로 변경
- confetti.js를 utils/로 이동
- 모든 import 경로 업데이트

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 18:37:30 +09:00
2ead24065b refactor(frontend-temp): schedules.js에서 dayjs 활용
- datetime 파싱에 dayjs 사용
- utils/date.js에서 timezone 설정된 dayjs import

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 09:01:24 +09:00
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