fromis_9/frontend-temp/src/api/index.js
caadiq 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

31 lines
412 B
JavaScript

/**
* API 통합 export
*/
// 클라이언트
export {
fetchApi,
fetchAuthApi,
fetchFormData,
ApiError,
get,
authGet,
post,
authPost,
put,
authPut,
del,
authDel,
} from './client';
// 인증
export * as authApi from './auth';
// 스케줄
export * as scheduleApi from './schedules';
// 앨범
export * as albumApi from './albums';
// 멤버
export * as memberApi from './members';