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

#6 place basic dev02 #30

Closed
wants to merge 14 commits into from
Closed

#6 place basic dev02 #30

wants to merge 14 commits into from

Conversation

junmo95
Copy link
Member

@junmo95 junmo95 commented Jan 4, 2024

๐ŸŽฏ ๋ชฉ์ 

  • ์ƒˆ ๊ธฐ๋Šฅ (New Feature)

  • ๋ฆฌํŒฉํ† ๋ง (Refactoring)

  • ๋ฒ„๊ทธ ์ˆ˜์ • (Bug Fix)

  • ํ…Œ์ŠคํŠธ (Test)

  • CI/CD

  • ์„ค์ • (Setup)

  • ๊ฐ„๋žตํ•œ ์„ค๋ช…:
    : ์—ฌํ–‰์ง€์— ๋Œ€ํ•œ ๊ธฐ๋ณธ CRUD, ์˜ˆ์™ธ, querydsl ์ ์šฉ ๋ฐ ๊ตฌํ˜„


๐Ÿ›  ์ž‘์„ฑ/๋ณ€๊ฒฝ ์‚ฌํ•ญ

  • ์—ฌํ–‰์ง€ ๊ด€๋ จ ๊ธฐ๋ณธ CRUD ๊ตฌํ˜„
  • ์—ฌํ–‰์ง€ ๊ด€๋ จ ์˜ˆ์™ธ ๊ตฌํ˜„
  • ์กฐํšŒ ํ•„ํ„ฐ๋ง์„ ์œ„ํ•ด querydsl ์ ์šฉ

๐Ÿ”— ๊ด€๋ จ ์ด์Šˆ


๐Ÿ’ก ํŠน์ด ์‚ฌํ•ญ

  • ์ฃผ๋ชฉํ•  ์‚ฌํ•ญ
    • AppConfig.class ์˜ objectMapper ์„ค์ •์ด Json ์ง๋ ฌํ™”, ์—ญ์ง๋ ฌํ™”์— ์˜ํ–ฅ์„ ๋ฏธ์ณ ๊ด€๋ จ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒ. ์ž„์‹œ๋กœ ์ฃผ์„์ฒ˜๋ฆฌ

๐Ÿ“– ๋ฌธ์„œํ™”

  • ๊ด€๋ จ ๋ฌธ์„œ ๋งํฌ


๐Ÿงช ํ…Œ์ŠคํŠธ

  • ํ…Œ์ŠคํŠธ ๊ณ„ํš ๋ฐ ๊ฒฐ๊ณผ
    • (ํ…Œ์ŠคํŠธ๊ณ„ํš)
    • (ํ…Œ์ŠคํŠธ๊ฒฐ๊ณผ)

๐Ÿ“š ์ฐธ์กฐ

  • ์ฐธ์กฐ ๋งํฌ

    • (๋งํฌ1)
  • ์ฐธ๊ณ  ์ž๋ฃŒ

    • (์ž๋ฃŒ1)

junmo95 added 14 commits January 3, 2024 10:02
- ๊ธฐ๋ณธ์ ์ธ ํ‹€์„ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์—”ํ‹ฐํ‹ฐ ์„ค๊ณ„ ๋ฐ ๊ตฌํ˜„
- ๊ธฐ๋ณธ์ ์ธ ํ‹€์„ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์ปจํŠธ๋กค๋Ÿฌ ๋ฐ DTO ์„ค๊ณ„ ๋ฐ ๊ตฌํ˜„
- AppConfig ์˜ objectMapper๊ฐ€ Dto์˜ ์ง๋ ฌํ™”, ์—ญ์ง๋ ฌํ™”์— ์˜ํ–ฅ์„ ๋ผ์ณ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•จ. ์ž„์‹œ๋กœ ์ฃผ์„์ฒ˜๋ฆฌ
- ๊ธฐ๋ณธ์ ์ธ ํ‹€์„ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์˜ˆ์™ธ ๊ตฌํ˜„
- ๊ธฐ๋ณธ์ ์ธ ํ‹€์„ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์„œ๋น„์Šค ๊ตฌํ˜„
- ๊ธฐ๋ณธ์ ์ธ ํ‹€์„ ๊ตฌํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ๊ตฌํ˜„
- querydsl ์ ์šฉ ๋ฐ ์ปค์Šคํ…€ ๋ ˆํฌ์ง€ํ† ๋ฆฌ
- ํ…Œ์ŠคํŠธ ์šฉ์„ ๋‚จ๊ฒจ๋‘” ์ฝ”๋“œ ์‚ญ์ œ
- ํ•จ์ˆ˜๋ช… ์ˆ˜์ •(toEntity, fromEntity)
- patch => put ๋ฐฉ์‹ ๋ณ€๊ฒฝ
- ์—”ํ‹ฐํ‹ฐ ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•˜์—ฌ ๋ชจ๋“  ๊ฐ’์ด ๋“ค์–ด์žˆ๋Š” Dto ๋ฐ์ดํ„ฐ๋กœ ์—”ํ‹ฐํ‹ฐ ๊ฐ’์„ ๋Œ€์ฒดํ•˜๊ณ , ๋”ํ‹ฐ์ฑ„ํ‚น์„ ์ด์šฉํ•˜์—ฌ ์—…๋ฐ์ดํŠธ.
- ๊ธฐ์กด์—๋Š” @ModelAttribute ํ™œ์šฉ, ํ•˜์ง€๋งŒ ํ•„ํ„ฐ๋ง ์š”์†Œ๊ฐ€ ์•„์ฃผ ๋งŽ์„๊ฒƒ ๊ฐ™์ง€ ์•Š๊ธฐ์— ์šฐ์„ ์€ @RequestParamํ†ตํ•ด ๊ตฌํ˜„
- ์œ„ ๋ณ€๊ฒฝ์— ๋”ฐ๋ผ quetdsl ์ฝ”๋“œ๋„ ๋ณ€๊ฒฝ
- ๊ธฐ์กด์—๋Š” ์Šคํ”„๋ง ๋ถ€ํŠธ๊ฐ€ ObjectMapper๋ฅผ ์ž๋™ ์„ค์ •ํ•ด์ฃผ๋Š”๋ฐ, ์ง์ ‘ ์„ค์ •ํ•˜๋Š” ์ˆœ๊ฐ„ ์„ค์ •ํ•œ ๋‚ด์šฉ๋งŒ ์ ์šฉ๋˜๊ธฐ์— place์—์„œ ์‚ฌ์šฉํ•˜๋Š” LocalTime ํƒ€์ž…์„ ์œ„ํ•œ ์„ค์ • ์ถ”๊ฐ€
- ๋ถˆํ•„์š”ํ•œ import ์ œ๊ฑฐ
- id ๋ช… ์ˆ˜์ •
- null ๋ถˆ๊ฐ€ ์†์„ฑ ์„ค์ •
- storedCount ์ดˆ๊ธฐ ๊ฐ’ ์„ค์ •
@junmo95 junmo95 added enhancement New feature or request feat ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. labels Jan 4, 2024
@junmo95 junmo95 self-assigned this Jan 4, 2024
@junmo95 junmo95 closed this Jan 4, 2024
@junmo95 junmo95 deleted the #6-place-basic-dev02 branch January 4, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feat ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant