Skip to content

Conversation

@fiivxyxxng
Copy link
Collaborator

@fiivxyxxng fiivxyxxng commented Jul 6, 2025

요구사항

프론트 배포 주소: https://6-sprint-mission-fe-sigma.vercel.app/

테스트 가능한 계정
id: test@test.com
pw: test1234

기본

공통

  • AWS 루트 유저 계정을 생성하세요. 이미 생성된 계정이 있다면 해당 계정을 활용해 주세요.
  • AWS Free Tier 제공 범위를 파악한 후, 해당 서비스를 적극 활용하세요.
    • 인스턴스의 중지 및 종료 과정을 꼭 숙지해야 합니다. EC2 과금 정책에 주의하여 프리 티어 한도 내에서 사용해 주세요.
  • 리전은 아시아 태평양(서울)'으로 설정하세요.

프론트엔드 배포

  • AWS Amplify 혹은 Vercel을 활용해 배포합니다.
  • AWS에 배포된 백엔드의 주소에 맞게 API 주소를 변경합니다.

주요 변경사항

스크린샷

image image

멘토에게

  • 셀프 코드 리뷰를 통해 질문 이어가겠습니다.

Copy link

@reach0908 reach0908 left a comment

Choose a reason for hiding this comment

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

코드 가독성이나 타입안정성 측면에서 훨씬 좋아진 것 같습니다!

질문들에 대해서 고민해보고 다른 다양한 방법들이 있는지 고민해보시면 좋을 것 같아요!

data.passwordConfirmation
);
setIsSignupSuccess(result.success);
setIsSignupSuccess(result.success!);

Choose a reason for hiding this comment

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

[질문]
success가 result에서 없는 경우가 있나요?
백엔드에서 success를 항상 내려주면 signup 로직에서 리턴 타입을 명시해주면 될 것 같습니다.

그리고 비동기 로직의 경우 try catch로 에러핸들링을 하면 좋을 것 같습니다.

Comment on lines +88 to +96
{articles &&
articles.list.map((article) => {
return (
<Link key={article.id} href={`/board/${article.id}`}>
<ArticleCard key={article.id} article={article} />
<span className="my-6 flex border-b-1 border-gray-200"></span>
</Link>
);
})}

Choose a reason for hiding this comment

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

[P0]
이러면 아티클들이 없는 경우에는 빈공간이 나올 것 같은데, 기본 엠프티 컴포넌트나 처리가 있으면 좋을 것 같습니다

Comment on lines +33 to +34
queryKey: ["products", { page: 1, pageSize, orderBy: "like" }],
queryFn: () => productService.getProducts({ page: 1, pageSize, orderBy: "like" }),

Choose a reason for hiding this comment

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

[P2]
키 팩토리 같은 것으로 키를 전역적으로 관리하는 방법도 있습니다!

type="button"
className="btn-base bg-error-red h-12 w-22"
onClick={() => handleDelete(itemId)}
onClick={() => handleDelete?.(itemId!)}

Choose a reason for hiding this comment

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

[질문]
그럼 HandleDelete 함수가 빈 함수로 오는 경우에 해당 버튼은 동작하지 않는 버튼이 되나요?

@reach0908
Copy link

사이트 다크모드에서 텍스트들의 컬러가 테마 설정과 맞지않아서 안보이는 이슈가 있는 것 같습니다!

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.

2 participants