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] - ํšŒ๊ณ  ๊ธฐ๋Šฅ response dto ํ•„๋“œ ์ •๋ฆฌ #183

Open
2 tasks done
letskuku opened this issue Aug 12, 2024 · 0 comments
Assignees
Labels
โ™ป๏ธ Refactor ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง

Comments

@letskuku
Copy link
Member

letskuku commented Aug 12, 2024

๐Ÿ”จ Refactor - ํšŒ๊ณ  ๊ธฐ๋Šฅ response dto ํ•„๋“œ ์ •๋ฆฌ

๐Ÿ“ Description


ํšŒ๊ณ  ๊ด€๋ จ api ์ค‘ response dto๊ฐ€ ์žˆ๋Š” api๋Š” ํšŒ๊ณ ๋ก ๋ชฉ๋ก ๋ณด๊ธฐ, ํšŒ๊ณ ๋ก ์ƒ์„ธ ๋ณด๊ธฐ, ํšŒ๊ณ ๋ก ์ˆ˜์ •์ธ๋ฐ ํšŒ๊ณ ๋ก ์ƒ์„ธ ๋ณด๊ธฐ์™€ ํšŒ๊ณ ๋ก ์ˆ˜์ •์€ ๊ฐ™์€ dto ์‚ฌ์šฉ ์ค‘ -> ์ด 2๊ฐœ์˜ response dto๊ฐ€ ์žˆ๋‹ค๊ณ  ๋ณผ ์ˆ˜ ์žˆ์Œ

  1. ํšŒ๊ณ ๋ก ์ƒ์„ธ ๋ณด๊ธฐ api์ž„์—๋„ ํšŒ๊ณ ๋ก ๋ชฉ๋ก ๋ณด๊ธฐ api์˜ dto๋ณด๋‹ค ์ ์€ ์ •๋ณด๋ฅผ ๋ณด์—ฌ์ฃผ๊ณ  ์žˆ๋‹ค๋Š” ์ 
  • ํšŒ๊ณ ๋ก ์ƒ์„ธ ๋ณด๊ธฐ๋Š” ์ œ๋ชฉ, url, ์ž‘์„ฑ์ž๋ฅผ ๋ณด์—ฌ์คŒ
    image

  • ํšŒ๊ณ ๋ก ๋ชฉ๋ก ๋ณด๊ธฐ๋Š” ๊ฐ ํšŒ๊ณ ๋ก์˜ ์ œ๋ชฉ, url, ์ž‘์„ฑ์ž, ํ™œ๋™๊ธฐ์ˆ˜๋ฅผ ๋ณด์—ฌ์คŒ
    image

  1. ํšŒ๊ณ ๋ก ์ž‘์„ฑ ์‹œ ํŒŒํŠธ๋ฅผ ์ž‘์„ฑํ•˜๋Š”๋ฐ ์ƒ์„ธ ๋ณด๊ธฐ๋‚˜ ๋ชฉ๋ก ๋ณด๊ธฐ์—์„œ๋Š” ๋ณด์—ฌ์ฃผ๊ณ  ์žˆ์ง€ ์•Š๋‹ค๋Š” ์ 

์„ ์ด์œ ๋กœ dto์˜ ๋ฆฌํŒฉํ† ๋ง์ด ํ•„์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•˜์˜€์Œ

โœ… To Do List


  • ํšŒ๊ณ ๋ก ๋ชฉ๋ก ๋ณด๊ธฐ api response dto ํ•„๋“œ ์ˆ˜์ • (์ œ๋ชฉ, url, ์ž‘์„ฑ์ž, ํ™œ๋™๊ธฐ์ˆ˜ -> ์ œ๋ชฉ, ํ™œ๋™๊ธฐ์ˆ˜, ํŒŒํŠธ)
  • ํšŒ๊ณ ๋ก ์ƒ์„ธ ๋ณด๊ธฐ/์ˆ˜์ • api response ํ•„๋“œ ์ˆ˜์ • (์ œ๋ชฉ, url, ์ž‘์„ฑ์ž -> ์ œ๋ชฉ, url, ์ž‘์„ฑ์ž, ํ™œ๋™๊ธฐ์ˆ˜, ํŒŒํŠธ)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
โ™ป๏ธ Refactor ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง
Projects
None yet
Development

No branches or pull requests

1 participant