[NDD-254]: 개발용 토큰 반환 API 구현 (0.5h / 0.5h) #106
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
DX 향상을 위해 개발용 토큰을 반환하는 API를 구현할 필요가 있기 때문이다.
또한 아래의 API들은 Swagger에서 나타낼 필요가 없기에 제외하였다.
How
팀 구글 이메일로 저장되어 있는 회원은 DB에 1번으로 저장되어 있기에 이를 사용하여 JWT를 만들어 반환
Result
아래 사진처럼 원하는 대로 Bearer + jwt의 형태로 반환됨을 알 수 있음
Prize
FE 개발자들의 DX 향상을 기대할 수 있음
Swagger API Docs에 꼭 필요한 API만 표시