Skip to content

Commit 61f4db6

Browse files
committed
feat: 완전한 프로젝트 구조 재구성
- DDD 아키텍처 적용 완료 - Spring AI 1.0.0-M6 통합 - 글로벌 예외처리 및 API 응답 표준화 - Redis 캐싱 시스템 구축 - ktlint 자동화 및 Git Hook 설정 - 팀 협업을 위한 문서화 완성
1 parent 228f6d0 commit 61f4db6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2903
-2309
lines changed

.env.example

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 🔑 환경변수 설정 예제
2+
# 이 파일을 .env로 복사하고 실제 값을 입력하세요
3+
4+
# 🤖 OpenRouter AI API 설정
5+
OPENROUTER_API_KEY=sk-or-your-openrouter-api-key-here
6+
OPENROUTER_MODEL=openai/gpt-3.5-turbo
7+
8+
# 🌦️ 기상청 API 설정 (공공데이터포털 발급)
9+
WEATHER_API_KEY=your-weather-api-key-here
10+
11+
# 🔴 Redis 서버 설정 (캐싱 및 세션 저장소)
12+
# 개발용: 로컬 Redis 서버 (docker run -d -p 6379:6379 redis:alpine)
13+
REDIS_HOST=localhost
14+
REDIS_PORT=6379
15+
REDIS_PASSWORD=
16+
17+
# 🗄️ 데이터베이스 설정 (운영용)
18+
# 개발 시에는 H2 사용하므로 필요없음
19+
# DB_URL=jdbc:postgresql://localhost:5432/korea_travel_guide
20+
# DB_USERNAME=your-db-username
21+
# DB_PASSWORD=your-db-password
22+
23+
# 🔧 개발 모드 설정
24+
SPRING_PROFILES_ACTIVE=dev

.gitignore

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,34 @@ out/
4242
### Environment Variables ###
4343
.env
4444

45-
.claude/*
45+
### Claude Code ###
46+
.claude/*
47+
48+
### Logs ###
49+
logs/
50+
*.log
51+
application*.log
52+
53+
### OS ###
54+
.DS_Store
55+
Thumbs.db
56+
57+
### Temporary files ###
58+
*.tmp
59+
*.temp
60+
*~
61+
62+
### ktlint ###
63+
.ktlint.cache
64+
65+
### Database ###
66+
*.db
67+
*.sqlite
68+
*.sqlite3
69+
70+
### Redis dump ###
71+
dump.rdb
72+
73+
### Coverage reports ###
74+
build/reports/
75+
coverage/

0 commit comments

Comments
 (0)