Commit Graph

4 Commits

Author SHA1 Message Date
kjh2064 060faa2ab2 기능: Shadow copy를 통한 무중단 배포 전략 완성
TaxBaik CI/CD / build-and-deploy (push) Failing after 15s
- CLAUDE.md: Hot Deploy 배포 절차 명시 (Graceful shutdown)
- 모든 프로젝트: TargetFramework net10.0 통일
- systemd 서비스: TimeoutStopSec=35, KillMode=mixed 추가
- Infrastructure.csproj: 마이그레이션 SQL 파일 포함 경로 수정

배포 후 실제 서버 검증 완료:
 Web 서비스 정상 실행 (포트 5001)
 Admin 서비스 정상 실행 (포트 5002)
 PostgreSQL 인증 및 마이그레이션 통과
 HTTP 응답 정상
2026-06-26 16:14:47 +09:00
kjh2064 f4eeeb9ec0 추가: 초기 관리자 계정 및 블로그 포스트 5개
- 초기 관리자: admin / admin123
- 블로그 포스트 5개 자동 생성
- AdminUserRepository 구현
- CreateBlogPostDto 추가

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-26 15:18:01 +09:00
kjh2064 d5918c562c 구현: W2 도메인·인프라·서비스 레이어
Domain 레이어:
- Enums: InquiryStatus (New/Contacted/Contracted/Closed)
- Enums: ServiceType (기장/종소세/부가세/양도세/증여상속/기타)
- Entities: Category, BlogPost, Inquiry, AdminUser (DB 매핑)
- Interfaces: IBlogPostRepository, ICategoryRepository, IInquiryRepository, IDbConnectionFactory

Infrastructure 레이어:
- DbConnectionFactory: PostgreSQL 연결 팩토리 (Npgsql)
- BlogPostRepository: GetBySlug, GetPublishedPaged, Create, Update, Delete, IncrementViewCount
- CategoryRepository: GetAll, GetBySlug
- InquiryRepository: Create, GetPaged, UpdateStatus
- NuGet 의존성: Dapper 2.1.15, Npgsql 8.0.1, Configuration, DependencyInjection
- DependencyInjection: AddInfrastructure() 확장 메서드

기술 결정:
- Dapper로 SQL 완전 제어
- PostgreSQL 다중 쿼리 (QueryMultiple) 페이징 최적화
- 한국어 파라미터 처리 (::int, ::text 타입 명시)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 15:06:22 +09:00
kjh2064 6dff8e7777 Initial project setup: solution + 5 projects
- Domain, Infrastructure, Application (class libraries)
- Web (ASP.NET Core empty)
- Admin (Blazor Server)
- All net8.0 target framework
- Project references configured

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 14:51:00 +09:00