๋ฐ์ํ ์ํ์ฝ๋ฉ85 [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ๊ธ์์ - ์์ ํ ์ ๋ณด ์ ์ก [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=kKbW16TZkYY&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=45 main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body, control){ return ` WEB ${list} ${control} ${body} `; } function templateList(filelist){ var list = ''; var i = 0; while(i .. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ๊ธ์์ - ์์ ๋งํฌ์์ฑ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=CSQfZz3UshE&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=44 โ pm2 start main.js --watch ๊ผญ ํด์ค ๊ฒ main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body, control){ return ` WEB ${list} ${control} ${body} `; } function templateList(filelist){ .. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ํ์ผ์์ฑ๊ณผ ๋ฆฌ๋ค์ด๋ ์ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=dBZDJloj9xk&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=43 main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body){ return ` WEB ${list} create ${body} `; } function templateList(filelist){ var list = ''; var i = 0; while(i < filelist.le.. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - POST ๋ฐฉ์์ผ๋ก ์ ์ก๋ ๋ฐ์ดํฐ ๋ฐ๊ธฐ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=WMX5zcalAM0&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=42 main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); var qs = require('querystring'); function templateHTML(title, list, body){ return ` WEB ${list} create ${body} `; } function templateList(filelist){ var list = ''; var i = 0; while(i < filelist.le.. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] App ์ ์ - ๊ธ์์ฑ UI ๋ง๋ค๊ธฐ [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=rm1rIN1DSfw&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=41 main.js (๋ณ๊ฒฝ) var http = require('http'); var fs = require('fs'); var url = require('url'); function templateHTML(title, list, body){ return ` WEB ${list} create ${body} `; } function templateList(filelist){ var list = ''; var i = 0; while(i < filelist.length){ list = list + `${filelist[.. 2021. 2. 6. [Node.js-์ํ์ฝ๋ฉ] HTML - form [์ถ์ฒ-Youtube ์ํ์ฝ๋ฉ] https://www.youtube.com/watch?v=NnhunpCLYUI&list=PLuHgQVnccGMA9QQX5wqj6ThK7t2tsGxjm&index=40 syntax/form.html โถ Query String ์จ๊ธฐ๊ธฐ ์์ ๋ฐฉ์์ ์ฌ์ฉํ๋ฉด ์ ๋ณด ๋ ธ์ถ์ ์ํ์ด ์์ผ๋ method="post"๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค. 2021. 2. 6. ์ด์ 1 ยทยทยท 6 7 8 9 10 11 12 ยทยทยท 15 ๋ค์ ๋ฐ์ํ