Skip to content

Commit

Permalink
[NDD-118]: Video POST API 구현 (4h / 3h) (#42)
Browse files Browse the repository at this point in the history
* feat: video 모듈과 video 엔티티 코드 작성

* feat: video 저장 로직 구현을 위한 controller, service 계층에 메서드 선언

* feat: 비디오 저장 API에서 Request Body로 사용할 CreateVideoRequest 클래스 정의

* feat: 질문 ID, 비디오 파일 이름과 url을 받아 비디오 정보를 DB에 저장하는 API 구현 완료

* refactor: video 객체 생성시 new에서 팩토리 메서드로 변경

* docs: 비디오 URL 저장 API Swagger 문서화 완료

* feat: 비디오 등록용 Pre-Signed URL 반환용 API를 위한 Controller, Service 계층 메서드 설계

* chore: idrive 사용을 위한 aws-sdk 의존성 추가

* feat: IDrive 사용을 위한 S3Client를 싱글톤으로 생성하고 이를 반환하는 메서드 구현

* feat: IDrive Pre-Signed Url을 발급하기 위한 API에서 사용할 Request Dto 정의

* chore: uuid 사용을 위한 UUID 의존성 추가

* feat: preSignedUrl GET API에 사용할 Response 객체 정의

* feat: 비디오 업로드를 위한 PreSignedUrl API 구현

* feat: 파일 이름(key)에 question의 content가 들어갈 수 있도록 변경

* feat: IDrive 내부 API 사용 시 에러 발생 핸들 로직 추가

* feat: question이 DB에 존재하지 않는 경우 '삭제된 질문'으로 표시되도록 구현

* chore: 윈도우에서만 발생하는 특이한 경우를 처리하기 위해 설정 변경

* docs: Pre-Signed URL 발급 API Swagger 문서화 완료

* refactor: 컨트롤러 단에서 Request의 Member를 파싱하는 것으로 통일

* refactor: controller 계층의 메서드 매개변수 변경을 service 계층에서 변경

* rename: 메서드 내 오타 수정
  • Loading branch information
quiet-honey authored Nov 14, 2023
1 parent 0202cc6 commit 79aa762
Show file tree
Hide file tree
Showing 15 changed files with 549 additions and 6 deletions.
3 changes: 2 additions & 1 deletion BE/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ module.exports = {
node: true,
jest: true,
},
ignorePatterns: ['/eslintrc.js'],
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': ['error', { endOfLine: 'auto' }],
},
};
254 changes: 250 additions & 4 deletions BE/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 79aa762

Please sign in to comment.