Skip to content

[#16] complete FastAPI application infrastructure#28

Merged
kikiru328 merged 9 commits intodevelopfrom
feat/16-api-instructure
Jul 7, 2025
Merged

[#16] complete FastAPI application infrastructure#28
kikiru328 merged 9 commits intodevelopfrom
feat/16-api-instructure

Conversation

@kikiru328
Copy link
Collaborator

작업 내용

  • app/api/errors.py: 글로벌 예외 처리 시스템 구현
  • app/api/health.py: Health Check API 구현 (/health, /health/detailed)
  • app/main.py: FastAPI 메인 애플리케이션 구성
  • 모든 컴포넌트 통합 및 검증 완료

관련 이슈

Closes #16

완료 사항

  • FastAPI 앱 생성 (app/main.py)
  • DI Container → FastAPI Depends 브릿지 구현 (app/api/deps.py)
  • 글로벌 예외 처리 핸들러 (app/api/errors.py)
  • 기본 Health Check API (/health)
  • 통합 테스트 작성

스크린샷

테스트

리뷰요청사항

추가정보

  • python3.13 사용
  • Poetry 2.1.3으로 테스트됨

kikiru328 added 9 commits July 6, 2025 20:59
- based on clean architecture
- add health-check api for vanila

Issue: #16
- app/api/deps.py: create 15 usecase dependency
- Mapping Container Provider -> FastAPI Depends
- Test coverage: 15 usecases, integration Container, Factory vs Singleton, Mock Override

Issue: #16
- formatted error response (ErrorResponse Class)
- with logging

Issue: #16
- health check monitoring end point
- health check api unit test

Issue: #16
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 7, 2025

@kikiru328 kikiru328 merged commit 6efa14f into develop Jul 7, 2025
2 checks passed
@kikiru328 kikiru328 deleted the feat/16-api-instructure branch July 7, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant