Skip to content

[F팀 김태호] 백엔드 API 과제 제출 - #5

Open
taeho4523 wants to merge 1 commit into
jinu0328:mainfrom
taeho4523:main
Open

[F팀 김태호] 백엔드 API 과제 제출#5
taeho4523 wants to merge 1 commit into
jinu0328:mainfrom
taeho4523:main

Conversation

@taeho4523

Copy link
Copy Markdown

No description provided.

@jinu0328 jinu0328 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

과제 수행 고생 많으셨습니다!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

스웨거 연동까지 해주셨군요 👍
스웨거 설정에 jwt 적용 설정까지 해주셨는데 처음 기획이 인증 인가까지 구현해주시려고 했던 걸까요? ㅎㅎ

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

API 응답의 ResponseEntity 구조가 거의 동일하게 반복되고 있습니다. status, message, data를 사용하는 구조를 반복적으로 작성하는 대신, 이를 하나의 공통 응답 객체로 관리하면 코드의 재사용성과 가독성을 크게 향상시킬 수 있을 것 같습니다. 현재 main 브랜치에도 그러한 방식으로 코드가 작성되어있으니 참고해주시면 좋을 것 같습니다! 👍

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

from 메서드를 통해 엔티티 객체를 정적으로 응답dto로 변환하신 점 좋습니다 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants