chore: 프론트엔드 마이그레이션 + 아키텍처 정의

- 백엔드 SDK 이전: FastAPI OpenAPI → orval 자동생성 (React Query 훅 포함)
- HTTP 어댑터: ky 기반 customFetcher, fetch httpClient 시그니처
- 아키텍처: features 모듈 / shared 레이어 컨벤션 정의
- 디자인 시스템: Tailwind v4 CSS-first 토큰 (브랜드 색 / status / shadcn)
- 커스텀 CSS: utilities / animations 를 custom.css 로 분리
- Docker: 개발(Dockerfile.dev + compose) / 프로덕션(nginx) 셋업
- README: 기술 스펙 / 프로젝트 구조 / 디자인 토큰 / 폰트 / SDK 사용법 정리

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 4.7 committed 2026-05-13 11:38:07 +09:00
commit e66b208318
219 files changed
+36881

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { AnalysisCreateClinicId } from './analysisCreateClinicId';
import type { AnalysisCreateUrl } from './analysisCreateUrl';
import type { Channels } from './channels';
import type { AnalysisOptions } from './analysisOptions';
export interface AnalysisCreate {
clinic_id?: AnalysisCreateClinicId;
url?: AnalysisCreateUrl;
channels: Channels;
options?: AnalysisOptions;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type AnalysisCreateClinicId = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type AnalysisCreateUrl = string | null;
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface AnalysisOptions {
skip_vision?: boolean;
skip_perplexity?: boolean;
}
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { AnalysisStatus } from './analysisStatus';
export interface AnalysisStartResponse {
analysis_run_id: string;
clinic_id: string;
status: AnalysisStatus;
estimated_seconds: number;
poll_url: string;
}
+18
View File
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type AnalysisStatus = typeof AnalysisStatus[keyof typeof AnalysisStatus];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const AnalysisStatus = {
discovering: 'discovering',
collecting: 'collecting',
analyzing: 'analyzing',
completed: 'completed',
failed: 'failed',
} as const;
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { AnalysisStatus } from './analysisStatus';
import type { AnalysisStatusResponseChannelErrors } from './analysisStatusResponseChannelErrors';
import type { AnalysisStatusResponseCompletedAt } from './analysisStatusResponseCompletedAt';
export interface AnalysisStatusResponse {
analysis_run_id: string;
status: AnalysisStatus;
progress: number;
current_step: string;
channel_errors: AnalysisStatusResponseChannelErrors;
completed_at: AnalysisStatusResponseCompletedAt;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type AnalysisStatusResponseChannelErrors = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type AnalysisStatusResponseCompletedAt = string | null;
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelVerifyRequestYoutube } from './channelVerifyRequestYoutube';
import type { ChannelVerifyRequestInstagram } from './channelVerifyRequestInstagram';
export interface ChannelVerifyRequest {
youtube?: ChannelVerifyRequestYoutube;
instagram?: ChannelVerifyRequestInstagram;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelVerifyRequestInstagram = string[] | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelVerifyRequestYoutube = string | null;
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelVerifyResponseYoutube } from './channelVerifyResponseYoutube';
import type { ChannelVerifyResponseInstagram } from './channelVerifyResponseInstagram';
export interface ChannelVerifyResponse {
youtube?: ChannelVerifyResponseYoutube;
instagram?: ChannelVerifyResponseInstagram;
}
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelVerifyResponseInstagramAnyOfItem } from './channelVerifyResponseInstagramAnyOfItem';
export type ChannelVerifyResponseInstagram = ChannelVerifyResponseInstagramAnyOfItem[] | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelVerifyResponseInstagramAnyOfItem = { [key: string]: unknown };
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelVerifyResponseYoutubeAnyOf } from './channelVerifyResponseYoutubeAnyOf';
export type ChannelVerifyResponseYoutube = ChannelVerifyResponseYoutubeAnyOf | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelVerifyResponseYoutubeAnyOf = { [key: string]: unknown };
+19
View File
@@ -0,0 +1,19 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelsYoutube } from './channelsYoutube';
import type { ChannelsInstagram } from './channelsInstagram';
import type { ChannelsFacebook } from './channelsFacebook';
import type { ChannelsNaverBlog } from './channelsNaverBlog';
import type { ChannelsGangnamUnni } from './channelsGangnamUnni';
export interface Channels {
youtube?: ChannelsYoutube;
instagram?: ChannelsInstagram;
facebook?: ChannelsFacebook;
naver_blog?: ChannelsNaverBlog;
gangnam_unni?: ChannelsGangnamUnni;
}
+8
View File
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelsFacebook = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelsGangnamUnni = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelsInstagram = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelsNaverBlog = string | null;
+8
View File
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelsYoutube = string | null;
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ClinicCreateNameEn } from './clinicCreateNameEn';
import type { ClinicCreateAddress } from './clinicCreateAddress';
export interface ClinicCreate {
url: string;
name: string;
name_en?: ClinicCreateNameEn;
address?: ClinicCreateAddress;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ClinicCreateAddress = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ClinicCreateNameEn = string | null;
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface ClinicCreateResponse {
id: string;
url: string;
name: string;
created_at: string;
}
@@ -0,0 +1,14 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { RunSummary } from './runSummary';
import type { ClinicHistoryResponseMetricsTimeseries } from './clinicHistoryResponseMetricsTimeseries';
export interface ClinicHistoryResponse {
clinic_id: string;
runs: RunSummary[];
metrics_timeseries: ClinicHistoryResponseMetricsTimeseries;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ClinicHistoryResponseMetricsTimeseries = { [key: string]: unknown };
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface ClinicInfo {
name: string;
url: string;
}
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ValidationError } from './validationError';
export interface HTTPValidationError {
detail?: ValidationError[];
}
+56
View File
@@ -0,0 +1,56 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export * from './analysisCreate';
export * from './analysisCreateClinicId';
export * from './analysisCreateUrl';
export * from './analysisOptions';
export * from './analysisStartResponse';
export * from './analysisStatus';
export * from './analysisStatusResponse';
export * from './analysisStatusResponseChannelErrors';
export * from './analysisStatusResponseCompletedAt';
export * from './channelVerifyRequest';
export * from './channelVerifyRequestInstagram';
export * from './channelVerifyRequestYoutube';
export * from './channelVerifyResponse';
export * from './channelVerifyResponseInstagram';
export * from './channelVerifyResponseInstagramAnyOfItem';
export * from './channelVerifyResponseYoutube';
export * from './channelVerifyResponseYoutubeAnyOf';
export * from './channels';
export * from './channelsFacebook';
export * from './channelsGangnamUnni';
export * from './channelsInstagram';
export * from './channelsNaverBlog';
export * from './channelsYoutube';
export * from './clinicCreate';
export * from './clinicCreateAddress';
export * from './clinicCreateNameEn';
export * from './clinicCreateResponse';
export * from './clinicHistoryResponse';
export * from './clinicHistoryResponseMetricsTimeseries';
export * from './clinicInfo';
export * from './hTTPValidationError';
export * from './planCreate';
export * from './planResponse';
export * from './planResponseBrandGuide';
export * from './planResponseContentStrategy';
export * from './reportResponse';
export * from './reportResponseConversionStrategy';
export * from './reportResponseFacebook';
export * from './reportResponseGangnamUnni';
export * from './reportResponseInstagram';
export * from './reportResponseNaverBlog';
export * from './reportResponseNaverPlace';
export * from './reportResponseYoutube';
export * from './runSummary';
export * from './runSummaryCompletedAt';
export * from './runSummaryOverallScore';
export * from './validationError';
export * from './validationErrorCtx';
export * from './validationErrorLocItem';
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface PlanCreate {
report_id: string;
regenerate?: boolean;
}
+18
View File
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { PlanResponseBrandGuide } from './planResponseBrandGuide';
import type { PlanResponseContentStrategy } from './planResponseContentStrategy';
export interface PlanResponse {
id: string;
analysis_run_id: string;
brand_guide: PlanResponseBrandGuide;
channel_strategies: unknown[];
content_strategy: PlanResponseContentStrategy;
calendar: unknown[];
created_at: string;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type PlanResponseBrandGuide = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type PlanResponseContentStrategy = { [key: string]: unknown };
+30
View File
@@ -0,0 +1,30 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ClinicInfo } from './clinicInfo';
import type { ReportResponseYoutube } from './reportResponseYoutube';
import type { ReportResponseInstagram } from './reportResponseInstagram';
import type { ReportResponseFacebook } from './reportResponseFacebook';
import type { ReportResponseNaverPlace } from './reportResponseNaverPlace';
import type { ReportResponseNaverBlog } from './reportResponseNaverBlog';
import type { ReportResponseGangnamUnni } from './reportResponseGangnamUnni';
import type { ReportResponseConversionStrategy } from './reportResponseConversionStrategy';
export interface ReportResponse {
id: string;
clinic: ClinicInfo;
overall_score: number;
youtube: ReportResponseYoutube;
instagram: ReportResponseInstagram;
facebook: ReportResponseFacebook;
naver_place: ReportResponseNaverPlace;
naver_blog: ReportResponseNaverBlog;
gangnam_unni: ReportResponseGangnamUnni;
conversion_strategy: ReportResponseConversionStrategy;
roadmap: unknown[];
kpis: unknown[];
generated_at: string;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseConversionStrategy = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseFacebook = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseGangnamUnni = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseInstagram = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseNaverBlog = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseNaverPlace = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ReportResponseYoutube = { [key: string]: unknown };
+16
View File
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { RunSummaryCompletedAt } from './runSummaryCompletedAt';
import type { RunSummaryOverallScore } from './runSummaryOverallScore';
export interface RunSummary {
run_id: string;
status: string;
started_at: string;
completed_at: RunSummaryCompletedAt;
overall_score: RunSummaryOverallScore;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RunSummaryCompletedAt = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RunSummaryOverallScore = number | null;
+16
View File
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ValidationErrorLocItem } from './validationErrorLocItem';
import type { ValidationErrorCtx } from './validationErrorCtx';
export interface ValidationError {
loc: ValidationErrorLocItem[];
msg: string;
type: string;
input?: unknown;
ctx?: ValidationErrorCtx;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ValidationErrorCtx = { [key: string]: unknown };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ValidationErrorLocItem = string | number;