diff --git a/CLAUDE.md b/CLAUDE.md index 296a519..5479674 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,5 +1,13 @@ @AGENTS.md +# 프로젝트 정보 + +- `npm run dev` / `npm run build` (→ `out/`) / `npm run lint` +- 구조: `src/app` (페이지, `_components`), `src/features/<기능>/` (components, lib, constants, mocks, types) +- `output: "export"` 정적 빌드 → nginx로 서비스. **API Route·Server Action·서버 렌더링 기능 사용 불가** +- API 호출: 개발 `http://localhost:8080`, 운영은 nginx `/api` → 백엔드 `:18080` (8080 아님: 리다이렉트 루프 발생). `NEXT_PUBLIC_API_URL`로 덮어쓰기 가능 +- 백엔드(Java): `C:\IdeaProjects\specialsource-homepage-backend` (PC마다 다르면 수정) + # 작업 규칙 - 나는 React 입문자다. 항상 **한국어**로, 입문자가 이해하기 쉽게 답변할 것.