ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • TIL | JAN 26(WED), 2022
    Developer blah blah/TIL _ WIL 2022. 1. 26. 21:21

     

    ๐Ÿ‘‰์˜ค๋Š˜ ํ•œ ์ผ

    1. 9:30 ๊ธฐ์ƒ

    2. 10:00 ๋ฐ์ผ๋ฆฌ ์Šคํฌ๋Ÿผ

    3. PPT ์ˆ˜์ •(์˜ค์ „)

    4. WIKI ์ž‘์„ฑ ์‹œ์ž‘

     

     

    ๐Ÿ“Œ๋‚ด์ผ ํ•  ์ผ

    1. 10:00 ๋ฐ์ผ๋ฆฌ ์Šคํฌ๋Ÿผ

    2. WIKI ์ž‘์„ฑ ๋งˆ๋ฌด๋ฆฌ

    3. ํ”„๋กœ์ ํŠธ ๊ด€๋ จ ์ง€์‹ ์ „๋ฐ˜์ ์œผ๋กœ ์ •๋ฆฌ

     

     

    ๐Ÿ”จ์˜ค๋Š˜ ์–ป์€ ๋ฐฐ์›€

    WIKI๋ฅผ ์ž‘์„ฑํ•˜๋ฉด์„œ Express์™€ MongoDB์— ๋Œ€ํ•œ ๋ ˆํผ๋Ÿฐ์Šค๋ฅผ ๋งŽ์ด ์ ‘ํ•˜๊ฒŒ ๋˜์–ด ๊ฐ„๋žตํžˆ ์ •๋ฆฌํ•ด ๋ณด๋ ค๊ณ  ํ•œ๋‹ค. ๋‘ ๊ฐ€์ง€ ๋ชจ๋‘ ๋‚ด์šฉ์ด ๋ฐฉ๋Œ€ํ•˜์—ฌ ๋”ฐ๋กœ ํฌ์ŠคํŒ…์„ ํ•ด์•ผํ•  ๊ฒƒ ๊ฐ™๋‹ค. ์šฐ์„  ์˜ค๋Š˜์€ Node.js์˜ ๋ฒ ํ”„์ธ Express์— ๋Œ€ํ•˜์—ฌ ์•Œ์•„๋ณด์ž.

     

    Express

    Express๋Š” ์›น ๋ฐ ๋ชจ๋ฐ”์ผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์œ„ํ•ด ๊ฐ•๋ ฅํ•œ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” ์œ ์—ฐํ•œ Node.js ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ํ”„๋ ˆ์ž„์›Œํฌ์ด๋‹ค.

    ์‚ฌ์‹ค ์™œ ์šฐ๋ฆฌ ํ”„๋กœ์ ํŠธ์— Express๋ฅผ ์ ์šฉํ–ˆ๋‚˜?๋ฅผ ์ƒ๊ฐํ•ด ๋ดค์„ ๋•Œ, ๋„ˆ๋ฌด ๋‹น์—ฐํ–ˆ๋‹ค. ์ง€๊ธˆ๊นŒ์ง€ Node.js๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ํ–ˆ์„ ๋•Œ, Express๋ฅผ ์‚ฌ์šฉํ–ˆ์œผ๋‹ˆ๊นŒ!

    ํ•˜์ง€๋งŒ Express์— ๋Œ€ํ•ด์„œ ์ฐพ์•„๋ณด๊ณ  ๋‚˜๋‹ˆ๊นŒ ์™œ ์‚ฌ์šฉํ•  ์ˆ˜ ๋ฐ–์— ์—†์—ˆ๋˜ ๊ฒƒ์ธ์ง€ ๊นจ๋‹ฌ์•˜๋‹ค.๐Ÿ‘‰ ์œ ๋ช…ํ•˜๋‹ˆ๊นŒ. ๋ณดํŽธ์ ์ด๋‹ˆ๊นŒ. ๋งŽ์€ ๊ณณ์—์„œ ์‚ฌ์šฉํ•˜๋‹ˆ๊นŒ.

     

    ๊ฐœ๋ฐœ์„ ํ•˜๊ฑฐ๋‚˜ ๊ธฐ์ˆ ์„ ๋„์ž…์„ ๊ฒฐ์ •ํ•  ๋•Œ ์ค‘์š”ํ•œ ๋ถ€๋ถ„ ์ค‘ ํ•˜๋‚˜๊ฐ€ ๋ ˆํผ๋Ÿฐ์Šค๊ฐ€ ์–ผ๋งˆ๋‚˜ ๋งŽ์€๊ฐ€? ์ธ๊ฑฐ ๊ฐ™๋‹ค.Node.js์˜ ํ‘œ์ค€ ์›น์„œ๋ฒ„ ํ”„๋ ˆ์ž„์›Œํฌ๋กœ ๋ถˆ๋ฆด ๋งŒํผ Express๋Š” ์ด๋ฏธ ๋งŽ์€ ๊ณณ์—์„œ ์‚ฌ์šฉ๋˜๊ณ  ์žˆ๋‹ค. Express๋ฅผ ์‚ฌ์šฉํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ๋‚ด์žฅ๋œ ๋‹ค์–‘ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์™€ ๋ฏธ๋“ค์›จ์–ด๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์—ˆ๊ณ , ๊ทธ๋กœ ์ธํ•˜์—ฌ ๊ฐœ๋ฐœ์ด ์ˆ˜์›”ํ–ˆ๋‹ค.๊ทธ๋ ‡๋‹ค๋ฉด Express๋ฅผ ๋Œ€์ฒดํ•  ์ˆ˜ ์žˆ๋Š” ๋‹ค๋ฅธ ์›น ํ”„๋ ˆ์ž„์›Œํฌ๊ฐ€ ์žˆ๋Š”์ง€ ๊ถ๊ธˆํ•ด์„œ ์ฐพ์•„๋ดค๋Š”๋ฐ, Express์™€ ๋”๋ถˆ์–ด ์‚ฌ์šฉ๋˜๊ณ  ์žˆ๋Š” ๋Œ€ํ‘œ์ ์ธ ๊ฒƒ์œผ๋กœ Koa๊ฐ€ ์žˆ์—ˆ๋‹ค. ํ•˜์ง€๋งŒ ์ง€์† ๊ฐ€๋Šฅ์„ฑ๊ณผ ์ถ”๊ฐ€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋“ฑ์„ ๊ณ ๋ คํ–ˆ์„ ๋•Œ, ๊ฐ€์žฅ ๋งŽ์€ ๊ณณ์—์„œ ๋ณดํŽธ์ ์œผ๋กœ ์‚ฌ์šฉ๋˜๊ณ  ์žˆ๋Š” Express๊ฐ€ ์ ํ•ฉํ–ˆ๊ณ  ์œ„์—์„œ ์–ธ๊ธ‰ํ•œ ๊ฒƒ ์ฒ˜๋Ÿผ ๊ฐœ๋ฐœ ๊ณผ์ •์—์„œ ์ถฉ๋ถ„ํ•œ ๋ ˆํผ๋Ÿฐ์Šค ํ™•๋ณด๊ฐ€ ๊ฐ€๋Šฅํ•ด์„œ ์ž˜ ์„ ํƒํ–ˆ๋‹ค๊ณ  ์ƒ๊ฐํ•œ๋‹ค.

     

     

    https://developer.mozilla.org/ko/docs/Learn/Server-side/Express_Nodejs/Introduction

     

    Express/Node ์†Œ๊ฐœ - Web ๊ฐœ๋ฐœ ํ•™์Šตํ•˜๊ธฐ | MDN

    ์ฒซ๋ฒˆ์งธ Express ์ˆ˜์—…์—์„œ๋Š” Node, Express๋ฅผ ์•Œ์•„๋ณด๊ณ , Express ์›น ํ”„๋ ˆ์ž„์›Œํฌ ์ œ์ž‘์˜ ์ „๋ฐ˜์— ๋Œ€ํ•ด ๋ฐฐ์šฐ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ์šฐ์„  ์ฃผ์š” ํŠน์ง•๋“ค์— ๋Œ€ํ•œ ํ‹€์„ ์ •๋ฆฌํ•œ ํ›„ Express ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ตฌ์„ฑํ•˜๋Š” ์ฃผ์š” ๊ตฌ์„ฑ

    developer.mozilla.org

     

    https://koajs.com/

     

    Koa - next generation web framework for node.js

    Introduction Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. By leveraging async functions, Koa allows you to ditch callbacks and greatly

    koajs.com

     

     

    ๐Ÿง™‍โ™‚๏ธํ•œ ์ค„ ํ›„๊ธฐ

    ๋Œ์•„๋ณด๋‹ˆ ์‹œ๊ฐ„ ์ง„์งœ ๋น ๋ฅด๋‹ค. ์ด์ œ 1์ฃผ ๋‚จ์•˜๋‹ค๋Š”๊ฒŒ ๋ฏฟ๊ธฐ์ง€ ์•Š๋Š”๋‹ค.๐Ÿ˜‚

    MongoDB๊ฐ€ ์ง„์งœ ํ™•์žฅ์„ฑ์ด ์ข‹์€ ๊ฒƒ ๊ฐ™๋‹ค. MongoDB์˜ ๋Œ€ํ‘œ์ ์ธ ๊ธฐ๋Šฅ์ด ์ธ๋ฑ์Šค, ์ค‘์ฒฉ, ์ƒค๋”ฉ์ธ ๊ฒƒ ๊ฐ™์€๋ฐ, ์ด๊ฑธ ๋„ˆ๋ฌด ๋Šฆ๊ฒŒ ์•Œ์•˜๋‹ค. RDBMS์—์„œ๋„ ์ธ๋ฑ์Šค๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์กฐํšŒ๊ฐ€ ๋น ๋ฅด๋‹ค๊ณ  ์•Œ๊ณ  ์žˆ๋Š”๋ฐ, MongoDB์—์„œ๋„ ๋น„์Šทํ•œ ์—ญํ• ์„ ํ•˜๋Š” ๊ฒƒ ๊ฐ™๋‹ค.

     

     

     

    'Developer blah blah > TIL _ WIL' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

    TIL | JAN 28(FRI), 2022  (1) 2022.01.29
    TIL | JAN 27(THR), 2022  (0) 2022.01.27
    TIL | JAN 24(MON), 2022  (0) 2022.01.24
    TIL | JAN 23(SUN), 2022  (0) 2022.01.23
    TIL | JAN 22(SAT), 2022  (0) 2022.01.23

    ๋Œ“๊ธ€

Designed by Tistory.