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

BE/#270 프로젝트 상세 조회 시, 조회수 증가 구현 #276

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

kimhalin
Copy link
Contributor

🛠️ 변경사항

  • 프로젝트 상세 조회 API 호출 시 조회수를 증가하도록 했습니다(자세한 내용은 참고자료 참고)
  • project 엔티티에 조회수 컬럼 추가
  • ProjectService
    • 쿠키 탐색하는 findCookie() 추가
    • 쿠키 값에 따른 조회수 증가 로직 진행하는 addViewCount() 추가


☝️ 유의사항



👀 참고자료

https://velog.io/@kimhalin/%EC%A1%B0%ED%9A%8C%EC%88%98-%EA%B8%B0%EB%8A%A5-%EA%B5%AC%ED%98%84%ED%95%98%EA%B8%B0



❗체크리스트

  • 하나의 메소드는 최소의 기능만 하도록 설정했나요?
  • 수정 가능하도록 유연하게 작성했나요?
  • 필요 없는 import문이나 setter 등을 삭제했나요?
  • 기존의 코드에 영향이 없는 것을 확인하였나요?

@kimhalin kimhalin self-assigned this Oct 14, 2023
@kimhalin kimhalin linked an issue Oct 14, 2023 that may be closed by this pull request
2 tasks
@github-actions
Copy link

github-actions bot commented Oct 14, 2023

Unit Test Results

85 tests  ±0   85 ✔️ ±0   5s ⏱️ -1s
17 suites ±0     0 💤 ±0 
17 files   ±0     0 ±0 

Results for commit d0c9ca8. ± Comparison against base commit bf65c62.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@youKeon youKeon left a comment

Choose a reason for hiding this comment

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

확인했습니다!! CI 에러난 것만 수정 부탁드립니다 고생 많으셨어요🙃🙃

Copy link
Collaborator

@baekhangyeol baekhangyeol left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@kimhalin kimhalin merged commit fcfd23a into feature Oct 26, 2023
3 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] 조회수 집계 기능
3 participants