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

[OMCT-264] 투표 랭킹 기능 구현 #183

Merged
merged 5 commits into from
Nov 29, 2023
Merged

Conversation

Yiseull
Copy link
Contributor

@Yiseull Yiseull commented Nov 27, 2023

📌 PR 종류

어떤 종류의 PR인지 아래 항목 중에 체크 해주세요.

  • 🐛 버그 수정
  • ✨ 기능 추가
  •  테스트 추가
  • 🎨 코드 스타일 변경 (formatting, local variables)
  • 🔨 리팩토링 (기능 변경 X)
  • 💚 빌드 관련 수정
  • 📝 문서 내용 수정
  • 그 외, 어떤 종류인지 기입 바람:

📌 어떤 기능이 추가 되었나요?

Issue Number

OMCT-264

기능 설명

랭킹에 추가

  • 투표가 생성될 때 레디스에 등록됩니다.
  • 투표는 24시동안만 열리기 때문에 만료시간을 24시간으로 설정해두었습니다.

랭킹 변동

  • 회원이 투표에 참여할 경우 인기순 +1을 합니다.
  • 지금은 투표자가 투표에 재참여를 할 때에도 +1이 되는데 이 부분을 수정할 예정입니다.

랭킹 조회

  • 투표 랭킹은 인기순대로 1~10위까지만 조회됩니다. (투표에서 인기순은 참가자순임)

📌 기존에 있던 기능에 영향을 주나요?

  • 아니요

@Yiseull Yiseull added enhancement New feature or request SPRINT7 Extra attention is needed labels Nov 27, 2023
@Yiseull Yiseull self-assigned this Nov 27, 2023
Copy link
Contributor

@Curry4182 Curry4182 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
Member

@HandmadeCloud HandmadeCloud left a comment

Choose a reason for hiding this comment

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

리팩토링 필요하다고 했었는데, 아래 스웨거인건가요??

@Yiseull Yiseull merged commit 609902d into main Nov 29, 2023
@Yiseull Yiseull deleted the OMCT-264-vote-ranking-redis branch November 29, 2023 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SPRINT7 Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants