이벤트 생성 플로우 개선 및 API 통합

- RecommendationStep 컴포넌트 확장 및 기능 개선
- 이벤트 API 및 AI API 연동 강화
- 인증 관련 훅 기능 확장
- 타입 정의 및 에러 처리 개선

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
merrycoral
2025-10-30 15:58:56 +09:00
parent d02cfaa5fc
commit b09fac2396
7 changed files with 206 additions and 38 deletions
+4 -1
View File
@@ -32,12 +32,15 @@ const EVENT_HOST = process.env.NEXT_PUBLIC_EVENT_HOST || 'http://localhost:8080'
*/
import axios from 'axios';
const API_VERSION = process.env.NEXT_PUBLIC_API_VERSION || 'v1';
const eventApiClient = axios.create({
baseURL: EVENT_HOST,
baseURL: `${EVENT_HOST}/api/${API_VERSION}`,
timeout: 30000,
headers: {
'Content-Type': 'application/json',
},
withCredentials: false, // CORS 설정
});
// Request interceptor - JWT 토큰 추가