-
Notifications
You must be signed in to change notification settings - Fork 2
글 작성 기능 구현 (#4) #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
글 작성 기능 구현 (#4) #52
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
모든 응답 헤더에 cors 헤더 추가 Refs: #4
- "/postImage" 를 통해 요청된 이미지를 s3에 저장 - s3 이미지 경로와 업로드 날짜를 db에 저장 - 매일 새벽 2시 기준 전날 이후로 업로드만 된 이미지 db와 s3에서 삭제 Refs: #4
- categorys -> categories
변경된 반환 형식 - 이미지id <Long> - 이미지경로 <string> Refs: #4
- s3 관련 파일 s3 디렉토리 밑으로 이동 - 테스트 코드 엔드포인트 "/categorys" -> "categories" 로 수정 Refs: #4
- 요청 받은 DTO를 통해 게시글 저장 - 글과 해쉬태그 연관관계를 나타내는 레코드를 PostHashTag 테이블에 생성 - 미리 업로드 되어있는 이미지에 게시글Id 입력 Refs: #4
- PostHashTag 생성자 변경으로 인한 테스트 코드 수정 Refs: #4
- 사용 되지 않는 @AllArgConstructor 삭제 - 생성자 단순화를 위해 빌더 패턴 제거 Refs: #4
- 의미 없는 어노테이션 제거 Refs: #4
- 글로벌 예외 핸들러에 CategoryNotFoundException, HashTagNotFoundException 예외를 다루도록 추가
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
sapsalian
approved these changes
Jan 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔍 개요
글 작성 기능 구현 완성했어요
✨ 작업 내용
s3에 저장된 url을 db에 저장합니다.
요청에 대한 응답으로 이미지의 id와 url을 반환합니다
✅ 체크리스트
🔗 관련 이슈
#4
💬 리뷰 요구사항 (option)
이미지 업로드 기능을 머지해서 글 작성 기능 코드 작성했더니 커밋이 합쳐져서 PR이 길어졌네요..;;
📎 추가 정보 (option)