The journey to becoming a developer

My future is created by what I do today, not tomorrow.

What I learned/CodeSquad Log

CodeSquad Day 38 : Front-end Week 3

Millie 2022. 3. 3. 00:57

 

CodeSquad๐Ÿ”นDay 38

Master tea time

์˜ค๋Š˜์€ 11์‹œ๋ถ€ํ„ฐ 12์‹œ๊นŒ์ง€ ํฌ๋กฑ ๋งˆ์Šคํ„ฐ์™€ ํ•จ๊ป˜ํ•˜๋Š” ํ‹ฐํƒ€์ž„์ด ์žˆ์—ˆ๋‹ค. ์ˆ˜๊ฐ•์ƒ ์ธ์›์ด ๊ฑฐ์˜ 40๋ช…์ด ์œก๋ฐ•ํ•ด์„œ ์•„์‰ฝ๊ฒŒ๋„ ์‹ค์ œ๋กœ ๋Œ€ํ™”๋Š” ๋‚˜๋ˆŒ ์ˆ˜ ์—†์—ˆ๊ณ  slido๋ฅผ ์ด์šฉํ•ด ์งˆ๋ฌธ์„ ๋‚จ๊ธฐ๊ณ , ํฌ๋กฑ์ด ๊ฑฐ๊ธฐ์— ๋Œ€๋‹ตํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์ง„ํ–‰๋˜์—ˆ๋‹ค. ๋‹ค์Œ๋ฒˆ์—๋Š” ์ข€ ๋” ์ ์€ ์ธ์›์”ฉ ๋‚˜๋ˆ ์„œ ์ด์•ผ๊ธฐ๋ฅผ ๋‚˜๋ˆ ๋ณด๋Š” ๊ฒƒ๋„ ์ข‹์€ ๋ฐฉ๋ฒ•์ธ ๊ฒƒ ๊ฐ™๋‹ค.

 

Mission & PR & Refactoring

์›๋ž˜๋Š” express๋ฅผ ์ข€ ๋” ํ•™์Šตํ•ด๋ณผ๊นŒ ํ–ˆ๋Š”๋ฐ, heroku๋กœ ๋ฐฐํฌ๋ฅผ ํ•˜๊ณ  ์‹ถ์–ด์„œ ์˜คํ›„์—” ์ด๊ฒƒ์„ ํ–ˆ๋‹ค. heroku CLI๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๊ฐ€ ์—๋Ÿฌ๊ฐ€ ๋‚˜์„œ ์ด๋ฏธ heroku ๋ฐฐํฌ๋ฅผ ์™„๋ฃŒํ•œ BB์—๊ฒŒ ๋„์›€์„ ์š”์ฒญํ–ˆ๊ณ , ๋•๋ถ„์— ์ž˜ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค.

PR์„ ๋ณด๋‚ด๊ณ , ํฌ๋กฑ์œผ๋กœ๋ถ€ํ„ฐ ์ฝ”๋“œ๋ฆฌ๋ทฐ๋„ ๋ฐ›์•„์„œ ๊ทธ ํ”ผ๋“œ๋ฐฑ์„ ๋ฐ”ํƒ•์œผ๋กœ ๋ฆฌํŒฉํ† ๋ง๋„ ์•ฝ๊ฐ„ ํ•ด ์ฃผ์—ˆ๋‹ค.

 

Group Review

5์‹œ ๊ทธ๋ฃน ๋ฆฌ๋ทฐ ์‹œ๊ฐ„์—๋Š” ๋‚ด๊ฐ€ ์ง€๊ธˆ๊นŒ์ง€ ํ•œ ๋ฆฌํŒฉํ† ๋ง ์œ„์ฃผ๋กœ ๊ฐ„๋‹จํ•˜๊ฒŒ ์„ค๋ช…ํ–ˆ๋‹ค. ํ–„๋””์™€ ๊ฑด ๋•๋ถ„์— process.env๊ฐ€ ๋Œ€๋žต์ ์œผ๋กœ ๋ฌด์—‡์„ ๋œปํ•˜๋Š”์ง€๋Š” ์•Œ๊ฒŒ ๋˜์—ˆ๋‹ค.

 

Node.js์—์„œ ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๋‹ค๋ฃจ๊ธฐ (process.env)

Engineering Blog by Dale Seo

www.daleseo.com

์•„๋ž˜ ๋ธ”๋กœ๊ทธ ๊ธ€์„ ์ •๋…ํ•ด๋ณด๋ฉฐ ์ข€ ๋” ์•Œ์•„๊ฐ€ ๋ณด๋ ค๊ณ  ํ•œ๋‹ค.

 

Algorithm

๋‚ด์ผ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์Šคํ„ฐ๋”” ๋Œ€๋น„๋ฅผ ์œ„ํ•ด์„œ 2๋ฌธ์ œ๋ฅผ ์ค€๋น„ํ–ˆ๋‹ค. ํ”„๋กœ๊ทธ๋ž˜๋จธ์Šค ๋ฌธ์ œ๋Š” ๋กœ์ง์„ ๋‹ค์‹œ ์ ์–ด๋ณด์•˜๊ณ  LeetCode ๋ฌธ์ œ๋Š” ์–ด๋ ค์›Œ์„œ ํ’€์ง€ ๋ชปํ•ด์„œ ๋Œ€์‹ ์— Solution ํƒญ์˜ ํ’€์ด๋ฅผ ์ดํ•ดํ•˜๋ ค๊ณ  ๋…ธ๋ ฅํ–ˆ๋‹ค. ๋ฌธ์ œ๋Š” ํ•˜๋‚˜์—ฌ๋„ ์ ‘๊ทผ๋ฒ•์ด ๋‹ค์–‘ํ•ด์„œ ํฅ๋ฏธ๋กœ์› ๋‹ค.

 

Discussion

์ด๋ˆ„, ์ฅฌ์™€ ๋ฐ๋ธŒ๋งค์นญ ๋ฝ€๊ฐœ๋Š” ์Šคํ„ฐ๋””์˜ ์กด์†์— ๋Œ€ํ•ด์„œ ๋…ผ์˜ํ–ˆ๋‹ค.

๋…ผ์˜ํ•˜๋‹ค๊ฐ€ ์šด๋™์ธ์ฆ ์Šคํ„ฐ๋””์— ๋ชจ๋‘ ์ฐธ์—ฌํ•˜๊ธฐ๋กœ ํ–ˆ๋‹ค. ์ด๋กœ์จ ์šด๋™์ธ์ฆ ์Šคํ„ฐ๋”” ์ธ์›์ด 5๋ช…์ด ๋˜์—ˆ๋‹ค! ์šฐ์„ ์€ ์ƒˆ๋กœ ๋ชจ์ง‘ํ•˜์ง„ ์•Š๊ณ  ์ด๋Œ€๋กœ ๊ฐ€๋‹ค๊ฐ€ ๋‚˜์ค‘์— ์ธ์› ์ถฉ์›์ด ํ•„์š”ํ•˜๋ฉด ๋ชจ์ง‘ํ•ด์•ผ๊ฒ ๋‹ค.

'What I learned > CodeSquad Log' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

CodeSquad Day 40 : Front-end Week 3  (0) 2022.03.05
CodeSquad Day 39 : Front-end Week 3  (0) 2022.03.04
CodeSquad Day 37 : Front-end Week 3  (0) 2022.03.02
CodeSquad Day 36 : Front-end Week 3  (0) 2022.03.01
CodeSquad Day 35 : Front-end Week 2  (0) 2022.02.26