Skip to content

Conversation

@626-ju
Copy link
Collaborator

@626-ju 626-ju commented Jul 28, 2025

πŸ“¦ Pull Request

πŸ“ μš”μ•½(Summary)

βœ¨λ‹€λ₯Έ κ³³μ—μ„œ ssrν…ŒμŠ€νŠΈ 같이 μ§„ν–‰ν•˜λ‹€κ°€ κΈ‰ν•˜κ²Œ 브랜치 μƒˆλ‘œ 파고 prλ„£λŠ”κ±°λΌ
μ½”λ“œκ°€ μ’€ μ„žμ—¬μžˆκ±°λ‚˜ μ§€κΈˆμ€ ν•„μš” μ—†λŠ” μ½”λ“œκ°€ μ£Όμ„μ²˜λ¦¬ λ˜μ–΄ μžˆμ„ 수 μžˆμŠ΅λ‹ˆλ‹€.
ssr 처리 였늘 λ©˜ν† λ§ λ°›κ³  ν™•μ‹€νžˆ λλ‚˜λ©΄ ν•œλ²ˆμ— μˆ˜μ •ν•˜λ„λ‘ ν•˜κ² μŠ΅λ‹ˆλ‹€.✨

1)와인 사진 μ œλŒ€λ‘œ λͺ» 뢈러올 λ•Œ 처리

2)리뷰 없을 λ•Œ 처리 -> μ‹œμ•ˆμ—μ„  μ™Όμͺ½μœΌλ‘œ 치우쳐져 μžˆλŠ”λ° μ€‘μ•™μœΌλ‘œ ν•˜λŠ” 게 λ‚˜μ„ 것 κ°™μ•„ κ·Έλ ‡κ²Œ ν–ˆμŠ€λΉˆλ‹€.

3)μ™ΈλΆ€ 이미지 λ°›μ•„μ˜¬ λ•Œ ν•„μš”ν•œ μ„€μ •

4)λ²„νŠΌ μ’‹μ•„μš” μ‹«μ–΄μš” 처리

5)리뷰 λ©°μΉ  전에 λ‹¬λ ΈλŠ”μ§€ μƒλŒ€μ‹œκ°„ 계산

πŸ’¬ κ³΅μœ μ‚¬ν•­ to 리뷰어

πŸ—‚οΈ κ΄€λ ¨ 이슈

πŸ“Έ μŠ€ν¬λ¦°μƒ·

1)와인 이미지 λŒ€μ²΄
image

2)이미지에 μ˜¬λ°”λ₯Έ 경둜 듀어갔을 λ•Œ
image

3)리뷰 없을 λ•Œ
image

  1. 와인 μ’‹μ•„μš” λ²„νŠΌ
image
  1. λ‹€λ₯Έ μ•„μ΄λ””λ‘œ 둜그인 μ‹œ λ²„νŠΌ μ•ˆ 눌러져 μžˆλŠ” λͺ¨μŠ΅
image
  1. 본인이 μž‘μ„±ν•œ λ¦¬λ·°λŠ” 클릭 λΆˆκ°€ -> μ—λŸ¬λ©”μ„Έμ§€ μΆ”ν›„ κ²½κ³  λͺ¨λ‹¬λ‘œ λ„μš°κΈ°
image

7)μƒλŒ€μ‹œκ°„ 계산 ν•¨μˆ˜ μΆ”κ°€
image

βœ… 체크리슀트

  • λΉŒλ“œ 및 ν…ŒμŠ€νŠΈ 톡과
  • ESLint/Prettier 검사 톡과

@vercel
Copy link

vercel bot commented Jul 28, 2025

Someone is attempting to deploy a commit to the 626-ju's projects Team on Vercel.

A member of the Team first needs to authorize it.

@626-ju 626-ju requested review from llmojoll and summerDev96 July 28, 2025 10:13
@626-ju 626-ju changed the title feature/wineid refactor/wineid Jul 28, 2025
Comment on lines +9 to +15
async function postLike(reviewId: number) {
console.log('μ’‹μ•„μš”!');
return apiClient.post(`${process.env.NEXT_PUBLIC_TEAM}/reviews/${reviewId}/like`);
}

async function deleteLike(reviewId: number) {
console.log('μ‹«μ–΄μš”!');
Copy link
Collaborator

Choose a reason for hiding this comment

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

ν…ŒμŠ€νŠΈ μ™„λ£Œλ˜μ‹œλ©΄ μ½˜μ†” μ‚­μ œ λΆ€νƒλ“œλ¦½λ‹ˆλ‹€!

Comment on lines +28 to +30
setIsClicked((prev) => !prev); //미리 μ—…λ°μ΄νŠΈ
//μ’‹μ•„μš” api μš”μ²­ 보내기
// /{teamId}/reviews/{id}/like
Copy link
Collaborator

Choose a reason for hiding this comment

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

μ‚¬μš©μž κ³ λ €ν•΄μ„œ μ’‹μ•„μš” μ²˜λ¦¬κ°€ 미리 λ˜λŠ”κ²Œ μ’‹λ„€μš”

@626-ju 626-ju merged commit 6a29b17 into codeit-part3-7:dev Jul 29, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants