mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 10:46:23 +00:00
🔧 Backend 변경사항: - Event 엔티티에 participants, targetParticipants, roi 필드 추가 - EventDetailResponse DTO 및 EventService 매퍼 업데이트 - ROI 자동 계산 비즈니스 로직 구현 - SecurityConfig CORS 설정 추가 (localhost:3000 허용) 🎨 Frontend 변경사항: - TypeScript EventDetail 타입 정의 업데이트 - Events 페이지 실제 API 데이터 연동 (Mock 데이터 제거) - 참여자 수 및 ROI 기반 통계 계산 로직 개선 📝 문서: - Event 필드 추가 및 API 통합 테스트 결과서 작성 ✅ 테스트 완료: - Backend API 응답 검증 - CORS 설정 검증 - Frontend-Backend 통합 테스트 성공 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
843 B
Bash
24 lines
843 B
Bash
#!/bin/bash
|
|
export SERVER_PORT=8082
|
|
export DB_HOST=localhost
|
|
export DB_PORT=5432
|
|
export DB_NAME=eventdb
|
|
export DB_USERNAME=eventuser
|
|
export DB_PASSWORD=eventpass
|
|
export DDL_AUTO=update
|
|
export REDIS_HOST=localhost
|
|
export REDIS_PORT=6379
|
|
export REDIS_PASSWORD=""
|
|
export KAFKA_BOOTSTRAP_SERVERS=localhost:9092
|
|
export JWT_SECRET="dev-jwt-secret-key-for-local-development-minimum-32-bytes"
|
|
export CONTENT_SERVICE_URL=http://localhost:8083
|
|
export DISTRIBUTION_SERVICE_URL=http://localhost:8086
|
|
export LOG_LEVEL=DEBUG
|
|
export SQL_LOG_LEVEL=DEBUG
|
|
|
|
echo "🚀 Starting Event Service on port 8082..."
|
|
./gradlew :event-service:bootRun --args='--spring.profiles.active=' > logs/event-service.log 2>&1 &
|
|
echo $! > .event-service.pid
|
|
echo "✅ Event Service started with PID: $(cat .event-service.pid)"
|
|
echo "📋 Check logs: tail -f logs/event-service.log"
|