Skip to content

투표, 게시글 관련 기능 추가#36

Merged
wlsh44 merged 18 commits intodevelopfrom
feature/post
Feb 25, 2025
Merged

투표, 게시글 관련 기능 추가#36
wlsh44 merged 18 commits intodevelopfrom
feature/post

Conversation

@wlsh44
Copy link
Contributor

@wlsh44 wlsh44 commented Feb 25, 2025

🚀 작업 내용 설명

  • 내가 투표한 게시글 조회
  • 내가 작성한 게시글 조회
  • 투표하기 (게스트 투표 미구현)
    • 동시성 고려 x
  • 더미 데이터 추가

📢 그 외

투표 변경은 투표하기 기능으로 합쳤습니다.

id로 게시글 조회 기능은 투표 현황 API 분리해야 돼서 수정이 필요해서 추가 구현 필요한 상황이고, docs에 테스트용 access token 추가하고 API 이름 옆에 Http Method 추가했습니다.

📌 관련 이슈

#1 #2 #28

@wlsh44 wlsh44 added the enhancement New feature or request label Feb 25, 2025
@wlsh44 wlsh44 self-assigned this Feb 25, 2025
@wlsh44 wlsh44 requested a review from YuuuuuuYu February 25, 2025 01:22
Copy link
Member

@YuuuuuuYu YuuuuuuYu left a comment

Choose a reason for hiding this comment

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

양이 많았는데 정말 고생하셨습니다!

아래 질문 하나만 봐주시면 좋을 것 같습니다
그리고 프로젝트랑 관련 없는 질문이긴한데 var를 보통 많이 쓰나요?

Comment on lines +29 to +37
public static ImageFile createImageFile(int key) {
return ImageFile.create(
new ImageFileDto(
"originalFileName" + key,
"imageUrl" + key,
"thumbnailUrl" + key
)
);
}
Copy link
Member

@YuuuuuuYu YuuuuuuYu Feb 25, 2025

Choose a reason for hiding this comment

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

filename 뒤에 key 붙는건 이해하는데 Url 뒤에 붙으면 실제로는 ...image.png1 이런식으로 될거 같은데
단순히 더미데이터 용으로 쓰기 위해 넣으신걸까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

넵 단순 더미데이터 용으로 데이터 확인할 때 알아보기 쉬울라고 추가한거고 딱히 다른 의미는 없습니다!
사실 저게 url인지 생각도 안하고 붙이긴 했어요..ㅎㅎ

@wlsh44
Copy link
Contributor Author

wlsh44 commented Feb 25, 2025

자꾸 개발 하다가 pr 타이밍을 놓쳐서 커져버렸네요.. 담부턴 잘라서 잘 올리겠습니다 ㅠ

그리고 프로젝트랑 관련 없는 질문이긴한데 var를 보통 많이 쓰나요?

이거는 약간 사람마다 다른 것 같아요. 저는 개인적으로 타입 명이 너무 길어지는 경우가 아니면 타입을 명시해주는걸 선호하기는 합니다. 반면에 적극적으로 사용하는 사람도 몇 번 본 것 같아요. 코틀린 하시는 분들은 잘 사용하는 것 같더라구요..

@wlsh44 wlsh44 merged commit dee80d9 into develop Feb 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants