-
Notifications
You must be signed in to change notification settings - Fork 0
[FEAT]: 가게 이미지, 테이블 이미지(S3) 업로드/조회/삭제 기능 구현 #61
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
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
SungMinju
reviewed
Jan 20, 2026
Contributor
SungMinju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음.. 보안을 위해서 저 base-url도 ${base-url} 이 형태로 하는 거 어떤가요?
Contributor
Author
아 넵 그게 좋겠네요. 반영하겠습니다! 리뷰 주셔서 감사합니다 |
zerochani
approved these changes
Jan 21, 2026
sonjunkyu
approved these changes
Jan 21, 2026
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.
💡 작업 개요
가게의 대표 이미지 및 테이블 이미지(TableImage) 를 AWS S3에 업로드하고,
이미지의 S3 key를 기준으로 저장·조회·삭제 할 수 있도록 이미지 관련 기능을 구현했습니다.
이미지는 S3에 업로드 후 key 형태로 관리하여 향후 디렉토리 구조 변경에도 유연하게 대응할 수 있도록 설계했으며,
운영 환경에서는 EC2 IAM Role 기반 인증 방식을 사용해 S3에 접근하도록 구성했습니다.
가게 메인 이미지는 1장만 유지되며, 기존 이미지가 있을 경우 교체 시 자동으로 삭제됩니다.
테이블 이미지는 여러 장 등록 가능하고, imageOrder를 통해 등록 순서를 관리합니다.
Store 관련
TableImage 관련
✅ 작업 내용
🧪 테스트 내용
📝 기타 참고 사항
AWS S3 접근은 Access Key / Secret Key를 코드에 포함하지 않고,
운영 환경에서는 EC2에 연결된 IAM Role을 통해 처리하도록 구성했습니다
이미지 조회는 S3 Public Read로 처리하고, 업로드·삭제 및 내부 조회는 EC2 IAM Role 권한을 통해 수행하도록 구성했습니다.
Closes #57