Skip to content

Conversation

@shihan00321
Copy link
Collaborator

@shihan00321 shihan00321 commented Sep 30, 2025

제목(필수): [TYPE]: 제목 예) [FEAT]: 회원가입 기능 추가

제목 규칙 자세히 보기
  • 형식: [TYPE]: 제목
  • 제한: 50자 이내, 첫 글자 대문자, 명령문
  • TYPE: FEAT FIX REFACTOR COMMENT STYLE TEST CHORE INIT

무엇을 / 왜

  • 무엇(What):
  1. 투표 게시글 생성 기능을 구현하였습니다.
  2. 투표 게시글 내부에서 투표하기 기능 및 결과 조회 기능을 구현하였습니다.
  3. Post, Comment 엔티티에 인덱스를 추가하였습니다.
  4. PollVote 엔티티 userHash 필드를 제거하였습니다.
  • 왜(Why):
  • 게시글, 댓글의 빠른 조회를 위함
  • userHash 없이 security role 설정으로 비로그인 사용자의 투표를 막기 위함

어떻게(요약) — 3줄 이내

  • 투표 게시글 CRUD 및 투표/결과 조회 기능 구현
  • Post, Comment에 조회 성능 향상을 위한 인덱스 추가
  • PollVote에서 userHash 제거, 보안 역할로 비로그인 투표 제한

영향 범위

  • API 변경
  • DB 마이그레이션
  • Breaking Change
  • 보안/권한 영향
  • 문서/가이드 업데이트 필요

체크리스트

  • 타입 라벨 부착 (FEAT/FIX/REFACTOR/COMMENT/STYLE/TEST/CHORE/INIT)
  • 로컬/CI 테스트 통과
  • 영향도 점검 완료
  • 주석/문서 반영(필요 시)

ToDo (선택)

  • 할 일 1
  • 할 일 2

스크린샷/증빙(선택)

이슈 연결 (자동)

Closes #49

@shihan00321 shihan00321 self-assigned this Sep 30, 2025
@shihan00321 shihan00321 added the FEAT 새로운 기능 추가 label Sep 30, 2025
Copy link
Collaborator

@lcs9317 lcs9317 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

Copy link
Collaborator

@johnbosco0414 johnbosco0414 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@shihan00321 shihan00321 merged commit e0bff9a into main Sep 30, 2025
3 checks passed
@shihan00321 shihan00321 deleted the feat/posts-vote branch September 30, 2025 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FEAT 새로운 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: 투표 게시글 생성 및 투표 기능 구현

4 participants