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

[#60] s3에 파일(이미지) 업로드하는 api 구현 #85

Merged
merged 9 commits into from
Jan 29, 2023

Conversation

Sinyoung3016
Copy link
Collaborator

@Sinyoung3016 Sinyoung3016 commented Jan 27, 2023

🌱 작업 사항

  • s3에 파일을 업로드 하는 api 구현 + env 추가
  • 요청과 함께 파일을 보내면, 파일 이름과 파일이 저장된 경로를 응답에 담아 보내줍니다
  • 그럼 해당 경로에서 다음과 같이 파일을 확인할 수 있습니다

image

image

🦄 관련 이슈

close #60

- s3는 multipart를 저장하지 못해, 파일로 전환해서 업로드
- 임시로 만들어진 파일을 삭제하는 메소드도 구현
- 파일 이름 중복처리를 위해 이름에 UUID를 추가함
- 임시로 만들어진 파일은 이후 삭제됨
@Sinyoung3016 Sinyoung3016 added the ✨ feat 기능 추가 label Jan 27, 2023
@Sinyoung3016 Sinyoung3016 added this to the Sprint - 2 milestone Jan 27, 2023
@Sinyoung3016 Sinyoung3016 self-assigned this Jan 27, 2023
Copy link
Collaborator

@hyena0608 hyena0608 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 ~

Copy link
Member

@JoosungKwon JoosungKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

역시 신영님 스프린트 2주차도 고생하셨습니다~~~!!!👍

Copy link
Collaborator

@hikarigin99 hikarigin99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

크으 고생하셨습니다👍

@Sinyoung3016 Sinyoung3016 merged commit b36d672 into develop Jan 29, 2023
@Sinyoung3016 Sinyoung3016 deleted the feat/60-file branch January 29, 2023 11:23
JoosungKwon added a commit that referenced this pull request Jan 30, 2023
* add: cloud 의존성과 설정 추가

* add: s3에 존재하는 파일을 업로드하는 유틸 생성

* add: MultipartFile을 File로 전환하는 유틸 생성

- s3는 multipart를 저장하지 못해, 파일로 전환해서 업로드
- 임시로 만들어진 파일을 삭제하는 메소드도 구현

* feat: 파일 업로드 api 구현

- 파일 이름 중복처리를 위해 이름에 UUID를 추가함
- 임시로 만들어진 파일은 이후 삭제됨

* add: 파일 업로드용 exception.properties 추가

* fix: jar 파일 버전 이름 업데이트

* update: profile 설정 변경

---------

Co-authored-by: kwonjoosung <[email protected]>
Co-authored-by: 권주성 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

이미지 저장 API 개발
4 participants