feat: 데이터 검증 페이지 + 병원 통합 프로필 데모 + 문서 정리

- /data-validation: Firecrawl API 실제 테스트 결과 시각화 페이지
  (viewclinic.com, YouTube, Instagram, 강남언니 크롤링 검증)
- /clinic/🆔 김박사넷 스타일 병원 통합 프로필 데모 페이지
  (의료진, 통합 평점, 시술 가격, 인증, 온라인 채널 통합)
- docs/datasets.md: 전체 데이터셋 정의서 (수집 소스, AI 생성, 의존 관계)
- docs/clinic-profile-platform.md: B2C 병원 프로필 플랫폼 기획서
- CLAUDE.md: 프로젝트 가이드 문서

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
fbdemeandClaude Opus 4.6 committed 2026-03-30 15:57:53 +09:00
1 parent 922ec8f6bc
commit c6e18b6a67
6 files changed
+2170

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
INFINITH Demo — AI 마케팅 분석 플랫폼의 프론트엔드 데모. 성형외과(뷰성형외과)를 대상으로 YouTube/Instagram/Facebook/웹사이트를 분석하고, 변환 전략/로드맵/KPI를 제안하는 마케팅 리포트를 보여준다. 현재는 mock 데이터 기반이며 실제 API 연동은 미구현 상태.
## Commands
- `npm run dev` — 개발 서버 (port 3000)
- `npm run build` — 프로덕션 빌드
- `npm run lint` — TypeScript 타입 체크 (`tsc --noEmit`)
- 테스트 프레임워크 없음
## Architecture
**Stack:** React 19 + TypeScript + Vite 6 + Tailwind CSS 4 + React Router 7
**Routes** (`src/main.tsx`):
- `/` — 랜딩 페이지
- `/report/loading` — 분석 로딩 (Navbar/Footer 숨김)
- `/report/:id` — 마케팅 분석 리포트
- `/plan/:id` — 마케팅 플랜
- `/studio/:id` — 콘텐츠 스튜디오 (AI 이미지 생성)
- `/channels` — 채널 연결
- `/distribute` — 콘텐츠 배포
- `/performance` — 성과 분석
**Data flow:**
1. Pages → custom hooks (`useReport`, `useMarketingPlan`) → mock data (`src/data/`)
2. Hooks return `{ data, isLoading, error }` 패턴 (100ms delay로 API 시뮬레이션)
3. `ScreenshotContext`로 리포트 스크린샷 데이터 공유
4. `useExportPDF` 훅으로 리포트 → PDF 변환
**Type definitions** in `src/types/`:
- `report.ts` — `MarketingReport` 및 하위 타입 (YouTubeAudit, InstagramAudit, etc.)
- `plan.ts` — 마케팅 플랜 타입
- `studio.ts` — 콘텐츠 스튜디오 타입
**AI Integration:** `src/services/geminiImageGen.ts` — Gemini 2.5 Flash로 이미지 생성. `GEMINI_API_KEY` 환경변수 필요.
## Styling
- Tailwind CSS 4 (`@theme` directive in `src/index.css`)
- 폰트: Pretendard (sans), Playfair Display (serif/headings)
- 색상: `primary-900` (#0A1128), `accent` (#6C5CE7)
- 상태 색상: `status-critical`, `status-warning`, `status-good`, `status-info` (각각 bg/text/border/dot 변형)
- `glass-card` 클래스: 반투명 글래스모피즘 카드
- 애니메이션: Motion (framer-motion 후속) 사용
## Path Alias
`@/` → 프로젝트 루트 (tsconfig.json + vite.config.ts 모두 설정됨)
## Deployment
Vercel (SPA 모드 — 모든 경로 `/index.html`로 리라이트)