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

이미지 저장 API 개발 #60

Closed
Sinyoung3016 opened this issue Jan 22, 2023 · 0 comments · Fixed by #85
Closed

이미지 저장 API 개발 #60

Sinyoung3016 opened this issue Jan 22, 2023 · 0 comments · Fixed by #85
Assignees
Labels
✨ feat 기능 추가
Milestone

Comments

@Sinyoung3016
Copy link
Collaborator

🚀 목적

게시글에 사용되는 이미지를 저장하는 api 개발

🔗 작업

이미지를 받아 s3에 저장 후, 경로를 응답으로 전달

✅ 완료조건

@Sinyoung3016 Sinyoung3016 added the ✨ feat 기능 추가 label Jan 22, 2023
@Sinyoung3016 Sinyoung3016 added this to the Sprint - 2 milestone Jan 22, 2023
@Sinyoung3016 Sinyoung3016 self-assigned this Jan 22, 2023
Sinyoung3016 added a commit that referenced this issue Jan 29, 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]>
JoosungKwon added a commit that referenced this issue 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 a pull request may close this issue.

1 participant