Skip to content

Conversation

@gogori6565
Copy link
Contributor

📣 Related Issue

📝 Summary

[ 글쓰기 API ]

  • 기록 공개 여부(postVisibility)의 세가지 타입 -> <전체 공개 : PUBLIC, 팔로워 공개 : FOLLOWERS, 나만보기 : PRIVATE>을 enum으로 구현하였습니다.
  • 카테고리의 id 값을 받아 Post에 저장하는 코드를 구현하였습니다.

[ 카테고리 API ]

  • 카테고리 조회 API: 글쓰기 페이지에서 카테고리 드롭박스의 데이터를 위한 내 카테고리 전체 조회 API를 구현하였습니다.
  • 카테고리 생성 API: 글쓰기 페이지의 + 컴포넌트를 통해 카테고리를 생성합니다. 생성 즉시 categoryId를 반환하여 게시 시, 클라이언트에서 id를 넘겨주고 저장하도록 구현하였습니다.

[ 추가) Authorization Header Value: [null] 삭제 ]

  • JwtAuthenticationFilter 클래스 내부에 작성된 디버깅용 로그 때문에 출력되던 로그를 삭제 처리하였습니다.

📬 Reference

image => postVisibility, categoryId 추가
image => 카테고리명을 입력하면 저장됩니다.
image => Id(번호)와 title(카테고리명)을 반환합니다. 카테고리가 여러 개이므로 List로 반환됩니다.

Copy link
Member

@rhkr8521 rhkr8521 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

@rhkr8521 rhkr8521 merged commit 50e08ba into develop Dec 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 글쓰기+카테고리 API - 기록 공개, 카테고리 설정 구현

3 participants