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

[REFACTOR] 영화 상세정보 배너처럼 주가 데이터 내려주기 #123

Conversation

jihwan1211
Copy link
Contributor

#️⃣연관된 이슈

#122

📝작업 내용

  • 영화 상세정보 배너처럼 주가 데이터 내려주기

스크린샷

image

💬리뷰 요구사항(선택)

@jihwan1211 jihwan1211 self-assigned this Aug 26, 2024
@jihwan1211 jihwan1211 linked an issue Aug 26, 2024 that may be closed by this pull request
Copy link
Member

@Jake1152 Jake1152 left a comment

Choose a reason for hiding this comment

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

주가 데이터 부분은 별도 service로 만드신 것 인상 깊네요. 다른 프로바이더에서도 쓰이고 있는데 만들어주신 것으로 모듈화해서 재활용할 수 있게 해보아야겠네요
수고하셨습니다:)

Copy link
Member

Choose a reason for hiding this comment

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

파일명 형식이 nest에서 주로 쓰이는 케밥 케이스로 되면 어떨까 싶습니다..!

src/stocks/stocks.controller.ts Show resolved Hide resolved
company.tickerName,
movie.movieOpenDate,
);

return {
beforePriceDate: fourWeeksBeforeStock.stockDate,
beforePrice: parseFloat(fourWeeksBeforeStock.closePrice),
Copy link
Member

Choose a reason for hiding this comment

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

다른 곳에서는 Number()로 캐스팅하고 있습니다
추후에 parseFloat()랑 Number() 중에 하나로 통일이 필요해 보입니다.
이 글을 이슈로 빼둘게요!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

수정하겠습니다

@jihwan1211 jihwan1211 merged commit 15d7043 into develop Aug 26, 2024
@jihwan1211 jihwan1211 deleted the 122-refactor-영화-상세-페이지-배너처럼-주가-데이터 branch August 26, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REFACTOR] 영화 상세 페이지 배너처럼 주가 데이터
2 participants