[TIL] 20230425

Taesu Seoยท2023๋…„ 5์›” 1์ผ
0

TIL

๋ชฉ๋ก ๋ณด๊ธฐ
2/2
post-thumbnail

๐ŸŒŸ Today ์š”์•ฝ

  1. ๋ฐฐํฌ ์‹œ ์ƒ์šฉ/ํ…Œ์ŠคํŠธ ๋ชจ๋‘ ํ˜ธํ™˜๋˜๋Š” ์ฝ”๋“œ ์ž‘์„ฑํ•˜๊ธฐ
  2. ์Šคํ…Œ์ด์ง• ์„œ๋ฒ„ ํ•„์š”์„ฑ
  3. ์‚ฌ์†Œํ•˜๋‹ค ์ƒ๊ฐ๋˜๋Š” ๋ฒ„๊ทธ๋Š” ๋ฌด์กฐ๊ฑด ํ™•์ธํ•˜๊ธฐ
  4. java null-safetyํ•œ ์ฝ”๋“œ ์ž‘์„ฑํ•˜๊ธฐ

What I did?

์ƒ์šฉ์„œ๋ฒ„(API) ๋ฐฐํฌ

  • ์œ ์ €
    • ๋กœ๊ทธ์ธ ์‹œ ์œ ์ € ๋””๋ฐ”์ด์Šค ์ •๋ณด Insert
  • ๋ฉ”์‹œ์ง€
    • AOS(FCM), IOS(APNs) Push

Admin

  • Excel Download ์ถ”๊ฐ€

What I Learned?

null-safetyํ•œ ์ฝ”๋“œ ์ž‘์„ฑ

  • java ์ฝ”๋“œ ์ž‘์„ฑ ์‹œ ๊ฐ์ฒด์˜ ์ •๋ณด์— ์ ‘๊ทผ ํ•  ์ƒํ™ฉ์ด ๋งŽ์Œ
  • ํŠน์ • ๊ฐ์ฒด์˜ ๊ฐ’์ด null ์ผ ๊ฒฝ์šฐ NPE Error ๋ฐœ์ƒ..
  • Optional.ofnullable ํ™œ์šฉ

๋ฐฐํฌ ์‹œ ์ฃผ์˜์‚ฌํ•ญ

  • ์‹ ๊ทœ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ ๋œ ๋‚ด์šฉ QA ์ง„ํ–‰ ํ•  ๋•Œ ๊ธฐ์กด์— ๋ฐฐํฌ๋˜์–ด์žˆ๋Š” ๋‚ด์šฉ๊ณผ ํ˜ธํ™˜๋˜๋Š” ์ฝ”๋“œ ์ž‘์„ฑ ํ•„์š”
    • ๊ธฐ์กด์— ์—†๋˜ ์ •๋ณด๋ฅผ ์ถ”๊ฐ€๋กœ ๋ฐ›์•„ ์ €์žฅํ•˜๋Š” ๋กœ์ง์„ ์ถ”๊ฐ€ํ•จ
    • ๊ธฐ์กด์— ๋ฐฐํฌ ๋œ ์•ฑ์€ ํ•ด๋‹น ์ •๋ณด๋ฅผ ๋„˜๊ฒจ์ฃผ์ง€ ์•Š์Œ
    • ๊ธฐ์กด ๋ฐฐํฌ ๋œ ์•ฑ์—์„œ ํ•ด๋‹น ์ •๋ณด๋ฅผ ๋„˜๊ฒจ์ฃผ์ง€ ์•Š๊ธฐ์— ๋กœ๊ทธ์ธ ์—๋Ÿฌ ๋ฐœ์ƒ..
    • ํ•ด๋‹น ์ •๋ณด์œ ๋ฌด๋ฅผ ํŒ๋‹จํ•˜์—ฌ ๊ธฐ์กด ๋กœ์ง๊ณผ์˜ ํ˜ธํ™˜์„ฑ ์žˆ๋Š” ์ฝ”๋“œ ์ž‘์„ฑ ํ•„์š”

SQL In ์ ˆ Query

  • In ์ ˆ์— ํฌํ•จ ๋  ๋‚ด์šฉ์„ ArrayList ๋กœ ๋ฝ‘๋‹ค๋ณด๋‹ˆ ์ค‘๋ณต ๋œ ๋‚ด์šฉ ์ „๋ถ€ ํฌํ•จํ•˜์—ฌ ์กฐํšŒ๋จ
  • ํ•ด๋‹น ๋‚ด์šฉ์„ Set ์œผ๋กœ ๋ณ€ํ™˜ํ•˜์—ฌ ์ž‘์„ฑ
profile
Connecting the dots

0๊ฐœ์˜ ๋Œ“๊ธ€