config.py: 환경변수 로드 + 큐레이션 심볼(CURATED_SYMBOLS, KR 8 + US 4).
/health 엔드포인트.
이후 모든 ml 모듈의 선행 병목.
의존
선행: 없음
후행: STK2-02, STK2-03, STK2-04
다이어그램
처리 흐름
sequenceDiagram
participant Dev as 개발자
participant UV as uv
participant App as FastAPI App
participant Cfg as config.py
Dev->>UV: uv run uvicorn app.main:app
UV->>App: 앱 초기화
App->>Cfg: 환경변수 로드 (TOSS_API_KEY, SIGNAL_CACHE_TTL 등)
Cfg-->>App: Settings 반환
Dev->>App: GET /health
App-->>Dev: {"status":"ok"}
클래스 의존
flowchart LR
subgraph Presentation["Presentation"]
main["main.py (FastAPI router)"]
end
subgraph Config["Config"]
config["config.py (Settings, CURATED_SYMBOLS)"]
end
main --> config