{"id":38372,"date":"2024-11-01T17:18:00","date_gmt":"2024-11-01T17:18:00","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38372"},"modified":"2024-11-26T06:44:30","modified_gmt":"2024-11-26T06:44:30","slug":"express-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%ea%b8%b0%eb%b3%b8-express-%ec%84%9c%eb%b2%84-%ec%84%a4%ec%a0%95-%eb%b0%8f-%ec%8b%a4%ed%96%89","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38372\/","title":{"rendered":"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589"},"content":{"rendered":"<p><body><\/p>\n<p>Express.js\ub294 Node.js\ub97c \uc704\ud55c \ube60\ub974\uace0 \ubd88\uc5b4\uce5c \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c\uc11c, \uc6f9 \uc11c\ubc84\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. Express.js\ub780?<\/h2>\n<p>Express.js\ub294 \ub300\uaddc\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc744 \uc704\ud55c \uc720\uc5f0\ud558\uace0 \ubaa8\ub4c8\ud654\ub41c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. RESTful API, \uc6f9\uc0ac\uc774\ud2b8 \ubc0f \uae30\ud0c0 \uc11c\ubc84\uce21 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4(layer)\ub97c \uc774\uc6a9\ud574 \uc694\uccad(request)\uacfc \uc751\ub2f5(response)\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc73c\uba70, \ub77c\uc6b0\ud305(\ub77c\uc6b0\ud2b8 \uc124\uc815), \uc624\ub958 \ucc98\ub9ac, \uc694\uccad \ubcf8\ubb38(movie) \ubd84\uc11d \ub4f1\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>2. \uac1c\ubc1c \ud658\uacbd \uc124\uc815<\/h2>\n<p>Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uae30 \uc704\ud574\uc11c\ub294 Node.js\uc640 npm(Node Package Manager)\uc774 \ud544\uc694\ud569\ub2c8\ub2e4. \uc544\ub798\ub294 \uac1c\ubc1c \ud658\uacbd \uc124\uc815\uc744 \uc704\ud55c \ub2e8\uacc4\ub97c \uc18c\uac1c\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1 Node.js \uc124\uce58<\/h3>\n<p>Node.js\ub294 Express\uc758 \uae30\ubc18\uc774 \ub418\ub294 JavaScript \ub7f0\ud0c0\uc784\uc785\ub2c8\ub2e4. Node.js\ub97c \uc124\uce58\ud558\ub824\uba74 \ub2e4\uc74c \ub9c1\ud06c\ub97c \ubc29\ubb38\ud574 \uc6b4\uc601 \uccb4\uc81c\uc5d0 \ub9de\ub294 \uc124\uce58 \ud30c\uc77c\uc744 \ub2e4\uc6b4\ub85c\ub4dc\ud558\uace0 \uc124\uce58\ud558\uc138\uc694: <a href=\"https:\/\/nodejs.org\/\">Node.js \uacf5\uc2dd \uc0ac\uc774\ud2b8<\/a>.<\/p>\n<h3>2.2 npm \ud655\uc778 \ubc0f \uc124\uce58<\/h3>\n<p>Node.js\ub97c \uc124\uce58\ud558\uba74 npm\ub3c4 \uac19\uc774 \uc124\uce58\ub429\ub2c8\ub2e4. \ud130\ubbf8\ub110 \ub610\ub294 \uba85\ub839 \ud504\ub86c\ud504\ud2b8\ub97c \uc5f4\uace0 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud558\uc5ec npm\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \uc124\uce58\ub418\uc5c8\ub294\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>node -v<\/code><\/pre>\n<pre><code>npm -v<\/code><\/pre>\n<h2>3. Express \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/h2>\n<p>\uc774\uc81c Express \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud504\ub85c\uc81d\ud2b8 \ub514\ub809\ud1a0\ub9ac\ub97c \ub9cc\ub4e4\uace0, \uadf8 \ub514\ub809\ud1a0\ub9ac\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>mkdir express-server-example<\/code><\/pre>\n<pre><code>cd express-server-example<\/code><\/pre>\n<h3>3.1 npm \ucd08\uae30\ud654<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c <code>npm init<\/code> \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud558\uc5ec \ud504\ub85c\uc81d\ud2b8\uc758 package.json \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \ud504\ub85c\uc81d\ud2b8\uc5d0 \ub300\ud55c \uc815\ubcf4\ub4e4\uc744 \uc785\ub825\ud558\uac8c \ub429\ub2c8\ub2e4. \ud544\uc694\ud55c \ub0b4\uc6a9\uc744 \uc785\ub825\ud55c \ud6c4, \uc0dd\uc131\ub41c package.json \ud30c\uc77c\uc740 \ud504\ub85c\uc81d\ud2b8\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>npm init -y<\/code><\/pre>\n<h3>3.2 Express \uc124\uce58<\/h3>\n<p>\uc774\uc81c Express \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uc5ec Express\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>npm install express<\/code><\/pre>\n<h2>4. \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815<\/h2>\n<p>Express\uac00 \uc124\uce58\ub418\uc5c8\uc73c\ub2c8, \uc774\uc81c \uae30\ubcf8\uc801\uc778 \uc11c\ubc84\ub97c \uc124\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud504\ub85c\uc81d\ud2b8 \ub514\ub809\ud1a0\ub9ac \ub0b4\uc5d0 <code>app.js<\/code>\ub77c\ub294 \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>touch app.js<\/code><\/pre>\n<h3>4.1 Express \uc11c\ubc84 \uad6c\uc131<\/h3>\n<p><code>app.js<\/code> \ud30c\uc77c\uc744 \uc5f4\uace0 \uc544\ub798\uc640 \uac19\uc740 \uae30\ubcf8 \ucf54\ub4dc\ub97c \uc791\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>const express = require('express');\nconst app = express();\nconst PORT = process.env.PORT || 3000;\n\n\/\/ \uae30\ubcf8 \uacbd\ub85c \uc124\uc815\napp.get('\/', (req, res) =&gt; {\n    res.send('\uc548\ub155\ud558\uc138\uc694, Express \uc11c\ubc84\uac00 \uc2e4\ud589 \uc911\uc785\ub2c8\ub2e4!');\n});\n\n\/\/ \uc11c\ubc84 \uc2e4\ud589\napp.listen(PORT, () =&gt; {\n    console.log(`\uc11c\ubc84\uac00 http:\/\/localhost:${PORT}\uc5d0\uc11c \uc2e4\ud589 \uc911\uc785\ub2c8\ub2e4.`);\n});<\/code><\/pre>\n<h3>4.2 \ucf54\ub4dc \uc124\uba85<\/h3>\n<ul>\n<li><code>require('express')<\/code>: Express \ubaa8\ub4c8\uc744 \ubd88\ub7ec\uc635\ub2c8\ub2e4.<\/li>\n<li><code>const app = express()<\/code>: Express \uc778\uc2a4\ud134\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li><code>app.get('\/', ...)<\/code>: \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 GET \uc694\uccad\uc744 \ucc98\ub9ac\ud558\uc5ec \uae30\ubcf8 \uacbd\ub85c\uc5d0 \ub300\ud55c \uc751\ub2f5\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><code>app.listen(PORT, ...)<\/code>: \uc11c\ubc84\uac00 \uc9c0\uc815\ub41c \ud3ec\ud2b8\uc5d0\uc11c \uc2e4\ud589\ub418\ub3c4\ub85d \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uc11c\ubc84 \uc2e4\ud589<\/h2>\n<p>\uc774\uc81c \uc11c\ubc84\ub97c \uc2e4\ud589\ud574 \ubcfc\uae4c\uc694? \ud130\ubbf8\ub110\uc5d0\uc11c \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>node app.js<\/code><\/pre>\n<p>\uc11c\ubc84\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \uc2e4\ud589\ub418\uba74, \uc544\ub798\uc640 \uac19\uc740 \uba54\uc2dc\uc9c0\uac00 \ud45c\uc2dc\ub429\ub2c8\ub2e4:<\/p>\n<pre><code>\uc11c\ubc84\uac00 http:\/\/localhost:3000\uc5d0\uc11c \uc2e4\ud589 \uc911\uc785\ub2c8\ub2e4.<\/code><\/pre>\n<h2>6. \uc11c\ubc84 \ud14c\uc2a4\ud2b8<\/h2>\n<p>\uc6f9 \ube0c\ub77c\uc6b0\uc800\ub97c \uc5f4\uace0 <a href=\"http:\/\/localhost:3000\">http:\/\/localhost:3000<\/a>\uc5d0 \uc811\uc18d\ud574 \ubcf4\uc138\uc694. &#8220;\uc548\ub155\ud558\uc138\uc694, Express \uc11c\ubc84\uac00 \uc2e4\ud589 \uc911\uc785\ub2c8\ub2e4!&#8221;\ub77c\ub294 \uba54\uc2dc\uc9c0\uac00 \ud45c\uc2dc\ub418\ub294 \uac83\uc744 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>7. \ub2e4\uc591\ud55c \ub77c\uc6b0\ud305 \ucc98\ub9ac<\/h2>\n<p>Express\ub294 GET, POST, PUT, DELETE \ub4f1 \ub2e4\uc591\ud55c HTTP \uc694\uccad\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ub77c\uc6b0\ud305 \ucc98\ub9ac \uc608\uc2dc\uc785\ub2c8\ub2e4.<\/p>\n<h3>7.1 \ub2e4\uc591\ud55c HTTP \uba54\uc11c\ub4dc \uc608\uc81c<\/h3>\n<pre><code>app.post('\/submit', (req, res) =&gt; {\n    res.send('\ud3fc \uc81c\ucd9c\uc774 \uc644\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4!');\n});\n\napp.put('\/update', (req, res) =&gt; {\n    res.send('\ub370\uc774\ud130\uac00 \uc5c5\ub370\uc774\ud2b8\ub418\uc5c8\uc2b5\ub2c8\ub2e4!');\n});\n\napp.delete('\/delete', (req, res) =&gt; {\n    res.send('\ub370\uc774\ud130\uac00 \uc0ad\uc81c\ub418\uc5c8\uc2b5\ub2c8\ub2e4!');\n});<\/code><\/pre>\n<h3>7.2 \ub77c\uc6b0\ud305 \uadf8\ub8f9\ud654<\/h3>\n<p>Express\ub294 \ub77c\uc6b0\ud2b8\ub97c \uadf8\ub8f9\ud654\ud558\ub294 \uac83\ub3c4 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uadf8\ub8f9\ud654\ub41c \ub77c\uc6b0\ud2b8 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>const userRouter = express.Router();\n\nuserRouter.get('\/', (req, res) =&gt; {\n    res.send('\uc0ac\uc6a9\uc790 \ubaa9\ub85d');\n});\n\nuserRouter.get('\/:id', (req, res) =&gt; {\n    res.send(`\uc0ac\uc6a9\uc790 ID: ${req.params.id}`);\n});\n\napp.use('\/users', userRouter);<\/code><\/pre>\n<h2>8. \ubbf8\ub4e4\uc6e8\uc5b4 \ud65c\uc6a9<\/h2>\n<p>Express\uc5d0\uc11c\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \ud1b5\ud574 \uc694\uccad\uacfc \uc751\ub2f5\uc744 \ucc98\ub9ac\ud558\ub294 \ub85c\uc9c1\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc694\uccad \ubcf8\ubb38\uc744 JSON \ud615\uc2dd\uc73c\ub85c \ud30c\uc2f1\ud558\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>app.use(express.json());<\/code><\/pre>\n<h2>9. \uc5d0\ub7ec \ucc98\ub9ac<\/h2>\n<p>Express\ub294 \uc624\ub958 \ucc98\ub9ac\ub97c \uc704\ud55c \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \uc81c\uacf5\ud558\uba70, \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>app.use((err, req, res, next) =&gt; {\n    console.error(err.stack);\n    res.status(500).send('\uc11c\ubc84 \uc624\ub958!');\n});<\/code><\/pre>\n<h2>10. \uacb0\ub860<\/h2>\n<p>\uc774 \uac15\uc88c\ub97c \ud1b5\ud574 Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud558\ub294 \uae30\ubcf8\uc801\uc778 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. Express\ub294 \uc27d\uace0 \uc9c1\uad00\uc801\uc778 API\ub97c \uc81c\uacf5\ud558\uc5ec \ube60\ub974\uac8c \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\ub3c4 \uc190\uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\uacb0, \uc0ac\uc6a9\uc790 \uc778\uc99d, \ud504\ub860\ud2b8\uc5d4\ub4dc\uc640\uc758 \uc5f0\ub3d9 \ub4f1 \ub354 \ub9ce\uc740 \uae30\uc220\uc744 \ubc30\uc6b0\uace0 \ud65c\uc6a9\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc774\uc81c \uc5ec\ub7ec\ubd84\ub3c4 Express\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8 \uc6f9 \uc11c\ubc84\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad81\uae08\ud55c \uc810\uc774\ub098 \ud53c\ub4dc\ubc31\uc774 \uc788\ub2e4\uba74 \ub313\uae00\ub85c \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Express.js\ub294 Node.js\ub97c \uc704\ud55c \ube60\ub974\uace0 \ubd88\uc5b4\uce5c \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c\uc11c, \uc6f9 \uc11c\ubc84\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js\ub780? Express.js\ub294 \ub300\uaddc\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc744 \uc704\ud55c \uc720\uc5f0\ud558\uace0 \ubaa8\ub4c8\ud654\ub41c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. RESTful API, \uc6f9\uc0ac\uc774\ud2b8 \ubc0f \uae30\ud0c0 \uc11c\ubc84\uce21 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4(layer)\ub97c \uc774\uc6a9\ud574 \uc694\uccad(request)\uacfc \uc751\ub2f5(response)\uc744 \ucc98\ub9ac\ud560 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38372\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[181],"tags":[],"class_list":["post-38372","post","type-post","status-publish","format-standard","hentry","category-express"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38372\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Express.js\ub294 Node.js\ub97c \uc704\ud55c \ube60\ub974\uace0 \ubd88\uc5b4\uce5c \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c\uc11c, \uc6f9 \uc11c\ubc84\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js\ub780? Express.js\ub294 \ub300\uaddc\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc744 \uc704\ud55c \uc720\uc5f0\ud558\uace0 \ubaa8\ub4c8\ud654\ub41c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. RESTful API, \uc6f9\uc0ac\uc774\ud2b8 \ubc0f \uae30\ud0c0 \uc11c\ubc84\uce21 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4(layer)\ub97c \uc774\uc6a9\ud574 \uc694\uccad(request)\uacfc \uc751\ub2f5(response)\uc744 \ucc98\ub9ac\ud560 &hellip; \ub354 \ubcf4\uae30 &quot;Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38372\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T17:18:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:30+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38372\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38372\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589\",\"datePublished\":\"2024-11-01T17:18:00+00:00\",\"dateModified\":\"2024-11-26T06:44:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38372\/\"},\"wordCount\":74,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Express\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38372\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38372\/\",\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T17:18:00+00:00\",\"dateModified\":\"2024-11-26T06:44:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38372\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38372\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38372\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/38372\/","og_locale":"ko_KR","og_type":"article","og_title":"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Express.js\ub294 Node.js\ub97c \uc704\ud55c \ube60\ub974\uace0 \ubd88\uc5b4\uce5c \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c\uc11c, \uc6f9 \uc11c\ubc84\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js\ub780? Express.js\ub294 \ub300\uaddc\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc744 \uc704\ud55c \uc720\uc5f0\ud558\uace0 \ubaa8\ub4c8\ud654\ub41c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. RESTful API, \uc6f9\uc0ac\uc774\ud2b8 \ubc0f \uae30\ud0c0 \uc11c\ubc84\uce21 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4(layer)\ub97c \uc774\uc6a9\ud574 \uc694\uccad(request)\uacfc \uc751\ub2f5(response)\uc744 \ucc98\ub9ac\ud560 &hellip; \ub354 \ubcf4\uae30 \"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589\"","og_url":"https:\/\/atmokpo.com\/w\/38372\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T17:18:00+00:00","article_modified_time":"2024-11-26T06:44:30+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38372\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38372\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589","datePublished":"2024-11-01T17:18:00+00:00","dateModified":"2024-11-26T06:44:30+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38372\/"},"wordCount":74,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Express\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38372\/","url":"https:\/\/atmokpo.com\/w\/38372\/","name":"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T17:18:00+00:00","dateModified":"2024-11-26T06:44:30+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38372\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38372\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38372\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Express \uac1c\ubc1c \uac15\uc88c, \uae30\ubcf8 Express \uc11c\ubc84 \uc124\uc815 \ubc0f \uc2e4\ud589"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38372"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38372\/revisions"}],"predecessor-version":[{"id":38373,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38372\/revisions\/38373"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}