Skip to content
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

[기능 요청] S3 이미지 업로드 기능 구현 #94

Open
4 of 7 tasks
coririri opened this issue Nov 3, 2023 · 0 comments
Open
4 of 7 tasks

[기능 요청] S3 이미지 업로드 기능 구현 #94

coririri opened this issue Nov 3, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@coririri
Copy link
Contributor

coririri commented Nov 3, 2023

기능 요청 개요

리뷰작성페이지, 회원가입 유저 추가 정보 입력 페이지, 유저 정보 수정 페이지에서 사용되는 S3 이미지 업로드 기능을 구현한다.

배경

이미지 업로드 시에 고려해야할 보안, 업로드 크기 제한사항을 준수하며, S3 방식의 이미지 업로드 방법을 구현 해야 하기 때문

요구 사항

  • 클라이언트 단에서 이미지 파일 형식 검증 로직 구현 (예: JPEG, PNG 등 지정된 형식만 허용)
  • 클라이언트 단에서 이미지 파일 크기 제한 로직 구현 (예: 최대 5MB) (멘토님이 요즘엔 용량을 크게 신경 못 쓴다고 함, 요즘 이미지들은 용량이 다 커서)
  • 파일 검증 실패 시, 사용자에게 명확한 오류 메시지 제공
  • 리뷰 작성 이미지 업로드 로직 구현 1. 서버에게 리뷰 작성 내용들을 보내 presignedUrl 주소를 배열형태로 받는다. 2. 이미지 파일들을 전달 받은 presignedUrl 주소로 전송한다.
  • 사용자 이미지 업로드 시 1. 서버에게 리뷰 작성 내용들을 보내 presignedUrl 주소를 받는다. 2. 이미지 파일들을 전달 받은 presignedUrl 주소로 전송한다.
  • presgiendUrl에 이미지 업로드 성공 했을 때, 백앤드에 성공 여부를 알려줘야 하는지 협의 하기
  • 사용자 이미지 수정 api 로직 구현

추가적인 컨텍스트

백로그 정보

** 6시간 **

관련된 이슈:
#82

@coririri coririri added the enhancement New feature or request label Nov 3, 2023
@coririri coririri self-assigned this Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant