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

[Global] BE Server 공통 작업 #35

Open
6 of 11 tasks
GeunH opened this issue Nov 15, 2023 · 0 comments
Open
6 of 11 tasks

[Global] BE Server 공통 작업 #35

GeunH opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
BE 작업범위 : BackEnd

Comments

@GeunH
Copy link
Collaborator

GeunH commented Nov 15, 2023

Description

BE Server 공통 작업

Task

BE

  • Data Validation
  • Token 검증 및 재발행-
  • Swagger API 문서화
  • UseGuards 사용하여 특정 요청들에 대해서 토큰 검증
  • Format 적용하기
  • 단위 테스트 코드 작성
  • Logging
  • Object Storage 연결
  • Image Resizing

Acceptance Criteria

  • Criteria 1.
  • Criteria 2.
@GeunH GeunH added the BE 작업범위 : BackEnd label Nov 15, 2023
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 15, 2023
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 15, 2023
- dto에 @ApiProperty 추가
- controller에 @ApiOperation, @ApiResponse 추가

Co-authored-by: GeunH <[email protected]>
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 15, 2023
- 핸들러 레벨 파이프 적용
- dto에 decorator를 통해 validation 규칙 적용

Co-authored-by: GeunH <[email protected]>
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 15, 2023
- dto에 @ApiProperty 추가
- controller에 @ApiOperation, @ApiResponse 추가

Co-authored-by: GeunH <[email protected]>
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 15, 2023
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 15, 2023
- table과 매핑될 user entity 생성
- DB관련 작업을 진행할 user repository 생성
- user module의 providers 배열에 repository 추가
- service에서 의존성 주입
- db관련 config 생성 및 app module에 import

Co-authored-by: GeunH <[email protected]>
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 16, 2023
- baseresponse.ts 생성
- error.filter.ts 생성
- reponse.interceptor.ts 생성

Co-authored-by: LeeTH916 <[email protected]>
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 17, 2023
- forwardRef를 추가하여 잠재적 오류 가능성 해결.
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 20, 2023
- refreshToken이 유효한 경우 accessToken 재발급
- refreshToken이 유효하지 않은 경우 401 에러 응답
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 20, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 20, 2023
- interceptor를 활용하여 request, response logging.
- client ip, status , method, url, delay time logging.
- winston모듈을 이용하여 custome logger 구현.

Co-authored-by: LeeTH916 <[email protected]>
This was referenced Nov 20, 2023
Closed
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 20, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 20, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 20, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 20, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 21, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 22, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Nov 23, 2023
-  TypeORM의 @manytoone 데코레이터와 @PrimaryColumn 데코레이터를 같이 사용했을 때 발생하는 네이밍 관련 이슈 해결
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 28, 2023
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 28, 2023
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 30, 2023
- 소셜로그인을 통해 로그인 요청한 유저에 대한 테스트 진행
- 리프레시 토큰 재발급 테스트 진행
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 30, 2023
- aws-sdk 설치
- aws-sdk를 사용하기 위한 config 파일 생성

Co-authored-by: GeunH <[email protected]>
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 30, 2023
- aws 모듈,서비스 생성
- s3 객체 인스턴스 생성

Co-authored-by: GeunH <[email protected]>
LeeTH916 referenced this issue in LeeTH916/and06-nibobnebob Nov 30, 2023
- object storage에 파일 업로드 서비스 구현
- object storage에서 파일 다운로드를 할 수 있는 서명된 URL 응답 구현

Co-authored-by: GeunH <[email protected]>
GeunH referenced this issue in GeunH/and06-nibobnebob Dec 1, 2023
- refreshtoken 테이블 엔티티 생성
- 로그인 시 User table에서 유저의 id, refreshtoken을 AuthRefreshToken 테이블에 저장.
GeunH referenced this issue in GeunH/and06-nibobnebob Dec 1, 2023
- accessToken 컬럼 추가
GeunH referenced this issue in GeunH/and06-nibobnebob Dec 3, 2023
GeunH added a commit that referenced this issue Dec 3, 2023
feat : docker를 이용한 자동 배포 설정 #35
GeunH referenced this issue in GeunH/and06-nibobnebob Dec 7, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Dec 10, 2023
GeunH referenced this issue in GeunH/and06-nibobnebob Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 작업범위 : BackEnd
Projects
None yet
Development

No branches or pull requests

2 participants