Skip to content

Conversation

@shinchaerin79
Copy link
Member

🚀 관련 이슈

📝 작업 내용

  • 가게 생성 API (POST /api/stores) 구현
  • StoreRequest DTO에 대한 validation 로직 추가
  • 주소 및 인증 코드 중복 방지 처리
  • 이미지 업로드(multipart/form-data) 지원
  • GlobalExceptionHandler.java를 통해 전역 예외 처리 로직 추가

🛠 개발 상세

  • build.gradle:
    • spring-boot-starter-validation 의존성 추가
  • GlobalExceptionHandler.java:
    • MethodArgumentNotValidException: 유효성 검사 실패 시 메시지 반환
    • MaxUploadSizeExceededException: 이미지 파일 용량 초과 예외 처리
    • IllegalArgumentException: 잘못된 이미지 형식 등 처리
    • CustomException: 도메인별 커스텀 예외 처리

✔️ 체크 리스트

  • Merge 하려는 PR 및 Commit들을 로컬에서 실행했을 때 에러가 발생하지 않았는가?

📸 스크린샷 (선택)

➕ 추후 계획(선택)

@shinchaerin79 shinchaerin79 requested a review from naooung August 5, 2025 17:27
@shinchaerin79 shinchaerin79 self-assigned this Aug 5, 2025
@shinchaerin79 shinchaerin79 added the ✨ Feature 기능 개발 label Aug 5, 2025
@shinchaerin79 shinchaerin79 linked an issue Aug 5, 2025 that may be closed by this pull request
3 tasks
@naooung naooung merged commit 6a83104 into develop Aug 5, 2025
2 checks passed
@shinchaerin79 shinchaerin79 deleted the feature/store-create branch August 5, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ [FEAT] 가게 생성 API 구현

3 participants