{"id":38368,"date":"2024-11-01T17:17:58","date_gmt":"2024-11-01T17:17:58","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38368"},"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-%ec%97%85%eb%a1%9c%eb%93%9c%ed%95%9c-%ed%8c%8c%ec%9d%bc%ec%9d%98-%eb%a9%94%ed%83%80%eb%8d%b0%ec%9d%b4%ed%84%b0-%ec%b2%98%eb%a6%ac","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38368\/","title":{"rendered":"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac"},"content":{"rendered":"<p><body><\/p>\n<article>\n<p>\n            \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ud30c\uc77c \uc5c5\ub85c\ub4dc\ub294 \ub9e4\uc6b0 \uc77c\ubc18\uc801\uc778 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \uc885\uc885 \ubb38\uc11c, \uc774\ubbf8\uc9c0, \ube44\ub514\uc624\uc640 \uac19\uc740 \ud30c\uc77c\uc744 \uc11c\ubc84\uc5d0 \uc5c5\ub85c\ub4dc\ud574\uc57c \ud569\ub2c8\ub2e4. Express.js\ub294 Node.js \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774\ub7ec\ud55c \uc791\uc5c5\uc744 \uad6c\ud604\ud558\ub294 \ub370 \uc801\ud569\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\ub97c \ud1b5\ud574 \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<h2>1. Express.js \uc18c\uac1c<\/h2>\n<p>\n            Express.js\ub294 \uac04\uacb0\ud558\uace0 \uc720\uc5f0\ud55c Node.js \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\uc744 \uc704\ud574 \ud544\uc694\ud55c \uae30\ubcf8 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. RESTful API\ub97c \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uacfc \ubbf8\ub4e4\uc6e8\uc5b4 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub85c \uc778\ud574 \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \uc560\uc6a9\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<h2>2. \ud544\uc694\ud55c \ud328\ud0a4\uc9c0 \uc124\uce58\ud558\uae30<\/h2>\n<p>\n            \ud30c\uc77c \uc5c5\ub85c\ub4dc \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud574 \ud544\uc694\ud55c \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ud30c\uc77c \uc5c5\ub85c\ub4dc Middleware\uc778 <code>multer<\/code>\ub97c \uc0ac\uc6a9\ud558\uaca0\uc2b5\ub2c8\ub2e4. multer\ub294 multipart\/form-data\ub97c \ucc98\ub9ac\ud558\uc5ec, \ud30c\uc77c\uc744 \uc27d\uac8c \uc5c5\ub85c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.\n        <\/p>\n<pre><code>npm install express multer<\/code><\/pre>\n<h2>3. \uae30\ubcf8\uc801\uc778 Express \uc11c\ubc84 \uc124\uc815<\/h2>\n<p>\n            \uae30\ubcf8\uc801\uc778 Express \uc11c\ubc84\ub97c \uc124\uc815\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec <code>app.js<\/code>\ub77c\ub294 \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0, Express \uc11c\ubc84\ub97c \uc124\uc815\ud569\ub2c8\ub2e4.\n        <\/p>\n<pre><code>\nconst express = require('express');\nconst multer = require('multer');\nconst app = express();\nconst port = 3000;\n\n\/\/ multer \uc124\uc815\nconst storage = multer.diskStorage({\n    destination: function (req, file, cb) {\n        cb(null, 'uploads\/');\n    },\n    filename: function (req, file, cb) {\n        cb(null, Date.now() + '-' + file.originalname);\n    }\n});\n\nconst upload = multer({ storage: storage });\n\n\/\/ \uae30\ubcf8 \ub77c\uc6b0\ud2b8\napp.get('\/', (req, res) =&gt; {\n    res.send('Hello, Express!');\n});\n\n\/\/ \ud30c\uc77c \uc5c5\ub85c\ub4dc \ub77c\uc6b0\ud2b8\napp.post('\/upload', upload.single('file'), (req, res) =&gt; {\n    if (!req.file) {\n        return res.status(400).send('\ud30c\uc77c\uc774 \uc5c5\ub85c\ub4dc\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.');\n    }\n    res.send({\n        message: '\ud30c\uc77c\uc774 \uc131\uacf5\uc801\uc73c\ub85c \uc5c5\ub85c\ub4dc\ub418\uc5c8\uc2b5\ub2c8\ub2e4.',\n        file: req.file,\n    });\n});\n\n\/\/ \uc11c\ubc84 \uc2dc\uc791\napp.listen(port, () =&gt; {\n    console.log(`\uc11c\ubc84\uac00 http:\/\/localhost:${port}\uc5d0\uc11c \uc2e4\ud589 \uc911\uc785\ub2c8\ub2e4.`);\n});\n        <\/code><\/pre>\n<h2>4. \ud30c\uc77c \uc5c5\ub85c\ub4dc \ub77c\uc6b0\ud2b8 \uc124\uba85<\/h2>\n<p>\n            \uc704\uc758 \ucf54\ub4dc\ub294 \ud30c\uc77c \uc5c5\ub85c\ub4dc\ub97c \uc704\ud55c \ub77c\uc6b0\ud2b8\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. <code>upload.single('file')<\/code>\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8\ub85c\ubd80\ud130 <code>file<\/code>\uc774\ub77c\ub294 \uc774\ub984\uc758 \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc \ubc1b\uc744 \uac83\uc744 \uae30\ub300\ud558\uba70, \uc5c5\ub85c\ub4dc\ub41c \ud30c\uc77c\uc758 \uc815\ubcf4\ub97c <code>req.file<\/code>\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\uc5c5\ub85c\ub4dc\ub41c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub294 <code>req.file<\/code> \uac1d\uccb4\uc5d0 \ud3ec\ud568\ub429\ub2c8\ub2e4. \uc774 \uac1d\uccb4\uc5d0\ub294 \ud30c\uc77c\uc758 \uc774\ub984, \uacbd\ub85c, \ud06c\uae30\uc640 \uac19\uc740 \uc815\ubcf4\uac00 \ud3ec\ud568\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<h3>4.1. \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac<\/h3>\n<p>\n            \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc5d0 \ub300\ud55c \uba54\ud0c0\ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub354 \uae4a\uc774 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ucf54\ub4dc\ub97c \ud1b5\ud574 \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c JSON \ud615\uc2dd\uc73c\ub85c \ubc18\ud658\ud558\ub3c4\ub85d \uc218\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<pre><code>\napp.post('\/upload', upload.single('file'), (req, res) =&gt; {\n    if (!req.file) {\n        return res.status(400).send('\ud30c\uc77c\uc774 \uc5c5\ub85c\ub4dc\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.');\n    }\n\n    const metadata = {\n        originalName: req.file.originalname,\n        mimeType: req.file.mimetype,\n        size: req.file.size,\n        uploadDate: new Date(req.file.uploadDate || Date.now()),\n        path: req.file.path,\n    };\n\n    res.send({\n        message: '\ud30c\uc77c\uc774 \uc131\uacf5\uc801\uc73c\ub85c \uc5c5\ub85c\ub4dc\ub418\uc5c8\uc2b5\ub2c8\ub2e4.',\n        metadata: metadata,\n    });\n});\n        <\/code><\/pre>\n<h2>5. \ud074\ub77c\uc774\uc5b8\ud2b8 \uce21 \ud30c\uc77c \uc5c5\ub85c\ub4dc \uad6c\ud604<\/h2>\n<p>\n            \uc774\uc81c \ud074\ub77c\uc774\uc5b8\ud2b8 \uce21\uc5d0\uc11c \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud558\ub294 HTML \uc591\uc2dd\uc744 \uad6c\ud604\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec <code>index.html<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.\n        <\/p>\n<pre><code>\n<!DOCTYPE html>\n\n<html lang=\"ko\">\n<head>\n    <meta charset=\"utf-8\"\/>\n    <meta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\"\/>\n    <title>\ud30c\uc77c \uc5c5\ub85c\ub4dc<\/title>\n<\/head>\n<body>\n    <h1>\ud30c\uc77c \uc5c5\ub85c\ub4dc<\/h1>\n    <form enctype=\"multipart\/form-data\" id=\"uploadForm\">\n        <input name=\"file\" required=\"\" type=\"file\"\/>\n        <button type=\"submit\">\ud30c\uc77c \uc5c5\ub85c\ub4dc<\/button>\n    <\/form>\n    <script>\n        document.getElementById('uploadForm').addEventListener('submit', function(event) {\n            event.preventDefault();\n            const formData = new FormData(this);\n            fetch('\/upload', {\n                method: 'POST',\n                body: formData,\n            })\n            .then(response => response.json())\n            .then(data => {\n                console.log(data);\n                alert('\uc5c5\ub85c\ub4dc \uc644\ub8cc: ' + JSON.stringify(data.metadata, null, 2));\n            })\n            .catch(error => {\n                console.error(error);\n                alert('\uc5c5\ub85c\ub4dc \uc2e4\ud328');\n            });\n        });\n    <\/script>\n<\/body>\n<\/html>\n        <\/code><\/pre>\n<h2>6. \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \uad6c\uc870<\/h2>\n<p>\n            \uc704 \ucf54\ub4dc\uc5d0\uc11c \uc5c5\ub85c\ub4dc\ub41c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uad6c\uc870\ub97c \uac00\uc9d1\ub2c8\ub2e4:\n        <\/p>\n<pre><code>\n{\n    message: \"\ud30c\uc77c\uc774 \uc131\uacf5\uc801\uc73c\ub85c \uc5c5\ub85c\ub4dc\ub418\uc5c8\uc2b5\ub2c8\ub2e4.\",\n    metadata: {\n        originalName: \"example.png\",\n        mimeType: \"image\/png\",\n        size: 102456,\n        uploadDate: \"2023-01-01T00:00:00.000Z\",\n        path: \"uploads\/1234567890-example.png\"\n    }\n}\n        <\/code><\/pre>\n<h2>7. \uc5d0\ub7ec \ud578\ub4e4\ub9c1<\/h2>\n<p>\n            \ud30c\uc77c \uc5c5\ub85c\ub4dc \uc2dc \ub2e4\uc591\ud55c \uc5d0\ub7ec \uc0c1\ud669\uc774 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \ud30c\uc77c \ud06c\uae30\uac00 \ub108\ubb34 \ud06c\uac70\ub098 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\ub294 \ud30c\uc77c \ud615\uc2dd\uc774 \uc5c5\ub85c\ub4dc\ub418\ub294 \uacbd\uc6b0\uc785\ub2c8\ub2e4. \uc774\ub97c \ucc98\ub9ac\ud558\uae30 \uc704\ud574 multer\uc758 \uc124\uc815\uc5d0\uc11c \uc81c\ud55c \uc870\uac74\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n        <\/p>\n<pre><code>\n\/\/ \ud30c\uc77c \ud06c\uae30 \uc81c\ud55c (5MB \uc774\ud558)\nconst upload = multer({\n    storage: storage,\n    limits: { fileSize: 5 * 1024 * 1024 },\n    fileFilter: (req, file, cb) =&gt; {\n        const fileTypes = \/jpeg|jpg|png|gif\/;\n        const extname = fileTypes.test(file.mimetype);\n        const mimetype = fileTypes.test(file.originalname.split('.').pop().toLowerCase());\n        if (extname &amp;&amp; mimetype) {\n            return cb(null, true);\n        }\n        cb(new Error('\ud5c8\uc6a9\ub418\uc9c0 \uc54a\ub294 \ud30c\uc77c \ud615\uc2dd\uc785\ub2c8\ub2e4.'));\n    }\n});\n        <\/code><\/pre>\n<h2>8. \uc2e4\uc804 \ubc30\ud3ec \ubc0f \ucd5c\uc801\ud654<\/h2>\n<p>\n            \uc774\uc81c \ud30c\uc77c \uc5c5\ub85c\ub4dc \uae30\ub2a5\uc774 \uc644\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9 \ub2e8\uacc4\ub85c\ub294 \uc774 \uae30\ub2a5\uc744 \uc2e4\uc81c \ud504\ub85c\ub355\uc158 \ud658\uacbd\uc5d0 \ubc30\ud3ec\ud558\uace0 \ucd5c\uc801\ud654\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc0ac\ud56d\uc744 \uace0\ub824\ud574\uc57c \ud569\ub2c8\ub2e4:\n        <\/p>\n<ul>\n<li>\ud30c\uc77c \uc800\uc7a5\uc18c: \ud074\ub77c\uc6b0\ub4dc \uc800\uc7a5\uc18c (\uc608: AWS S3)\ub97c \uc0ac\uc6a9\ud560\uc9c0, \ub85c\uceec \ud30c\uc77c \uc2dc\uc2a4\ud15c\uc5d0 \uc800\uc7a5\ud560\uc9c0\ub97c \uacb0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubcf4\uc548: \uc5c5\ub85c\ub4dc\ub418\ub294 \ud30c\uc77c\uc758 \uc720\ud6a8\uc131\uc744 \uac80\uc0ac\ud558\uc5ec \uc545\uc131 \ucf54\ub4dc\uac00 \ud3ec\ud568\ub418\uc9c0 \uc54a\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/li>\n<li>\uc131\ub2a5: \uc5ec\ub7ec \uc0ac\uc6a9\uc790\uac00 \ub3d9\uc2dc\uc5d0 \uc5c5\ub85c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \uc131\ub2a5\uc744 \ucd5c\uc801\ud654\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>9. \uacb0\ub860<\/h2>\n<p>\n            \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud30c\uc77c \uc5c5\ub85c\ub4dc \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uace0 \uc5c5\ub85c\ub4dc\ub41c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud588\uc2b5\ub2c8\ub2e4. Express.js\uc640 multer\ub97c \ud65c\uc6a9\ud558\uba74 \uac04\ub2e8\ud558\uba74\uc11c\ub3c4 \uac15\ub825\ud55c \ud30c\uc77c \uc5c5\ub85c\ub4dc \uae30\ub2a5\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc644\uc131\ub41c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ubc14\ud0d5\uc73c\ub85c \ucd94\uac00\uc801\uc778 \uae30\ub2a5\ub4e4\uc744 \uace0\ub824\ud558\uc5ec \ud655\uc7a5\ud574\ubcf4\uc138\uc694.\n        <\/p>\n<h2>10. \ucd94\uac00 \ub9ac\uc18c\uc2a4<\/h2>\n<ul>\n<li><a href=\"https:\/\/expressjs.com\/\">Express \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/www.npmjs.com\/package\/multer\">Multer \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/image-upload-with-node-js-express-and-multer\">DigitalOcean: Node.js\ub85c \uc774\ubbf8\uc9c0 \uc5c5\ub85c\ub4dc\ud558\uae30<\/a><\/li>\n<\/ul>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ud30c\uc77c \uc5c5\ub85c\ub4dc\ub294 \ub9e4\uc6b0 \uc77c\ubc18\uc801\uc778 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \uc885\uc885 \ubb38\uc11c, \uc774\ubbf8\uc9c0, \ube44\ub514\uc624\uc640 \uac19\uc740 \ud30c\uc77c\uc744 \uc11c\ubc84\uc5d0 \uc5c5\ub85c\ub4dc\ud574\uc57c \ud569\ub2c8\ub2e4. Express.js\ub294 Node.js \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774\ub7ec\ud55c \uc791\uc5c5\uc744 \uad6c\ud604\ud558\ub294 \ub370 \uc801\ud569\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\ub97c \ud1b5\ud574 \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js \uc18c\uac1c Express.js\ub294 \uac04\uacb0\ud558\uace0 \uc720\uc5f0\ud55c Node.js \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38368\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac&#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-38368","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, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac - \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\/38368\/\" \/>\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, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ud30c\uc77c \uc5c5\ub85c\ub4dc\ub294 \ub9e4\uc6b0 \uc77c\ubc18\uc801\uc778 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \uc885\uc885 \ubb38\uc11c, \uc774\ubbf8\uc9c0, \ube44\ub514\uc624\uc640 \uac19\uc740 \ud30c\uc77c\uc744 \uc11c\ubc84\uc5d0 \uc5c5\ub85c\ub4dc\ud574\uc57c \ud569\ub2c8\ub2e4. Express.js\ub294 Node.js \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774\ub7ec\ud55c \uc791\uc5c5\uc744 \uad6c\ud604\ud558\ub294 \ub370 \uc801\ud569\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\ub97c \ud1b5\ud574 \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js \uc18c\uac1c Express.js\ub294 \uac04\uacb0\ud558\uace0 \uc720\uc5f0\ud55c Node.js \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 &hellip; \ub354 \ubcf4\uae30 &quot;Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38368\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T17:17:58+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\/38368\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38368\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac\",\"datePublished\":\"2024-11-01T17:17:58+00:00\",\"dateModified\":\"2024-11-26T06:44:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38368\/\"},\"wordCount\":37,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Express\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38368\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38368\/\",\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T17:17:58+00:00\",\"dateModified\":\"2024-11-26T06:44:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38368\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38368\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38368\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac\"}]},{\"@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, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac - \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\/38368\/","og_locale":"ko_KR","og_type":"article","og_title":"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ud30c\uc77c \uc5c5\ub85c\ub4dc\ub294 \ub9e4\uc6b0 \uc77c\ubc18\uc801\uc778 \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \uc885\uc885 \ubb38\uc11c, \uc774\ubbf8\uc9c0, \ube44\ub514\uc624\uc640 \uac19\uc740 \ud30c\uc77c\uc744 \uc11c\ubc84\uc5d0 \uc5c5\ub85c\ub4dc\ud574\uc57c \ud569\ub2c8\ub2e4. Express.js\ub294 Node.js \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774\ub7ec\ud55c \uc791\uc5c5\uc744 \uad6c\ud604\ud558\ub294 \ub370 \uc801\ud569\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\ub97c \ud1b5\ud574 \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js \uc18c\uac1c Express.js\ub294 \uac04\uacb0\ud558\uace0 \uc720\uc5f0\ud55c Node.js \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 &hellip; \ub354 \ubcf4\uae30 \"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac\"","og_url":"https:\/\/atmokpo.com\/w\/38368\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T17:17:58+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\/38368\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38368\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac","datePublished":"2024-11-01T17:17:58+00:00","dateModified":"2024-11-26T06:44:30+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38368\/"},"wordCount":37,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Express\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38368\/","url":"https:\/\/atmokpo.com\/w\/38368\/","name":"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T17:17:58+00:00","dateModified":"2024-11-26T06:44:30+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38368\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38368\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38368\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Express \uac1c\ubc1c \uac15\uc88c, \uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c\uc758 \uba54\ud0c0\ub370\uc774\ud130 \ucc98\ub9ac"}]},{"@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":[{"id":38332,"url":"https:\/\/atmokpo.com\/w\/38332\/","url_meta":{"origin":38368,"position":0},"title":"Express \uac1c\ubc1c \uac15\uc88c, \ubcf4\uc548 \uace0\ub824\uc0ac\ud56d \ubc0f CORS \uc815\ucc45","author":"root","date":"2024\ub144 11\uc6d4 01\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 Express\ub294 Node.js\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uacbd\ub7c9 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ubc31\uc5d4\ub4dc \uc11c\ubc84 \uac1c\ubc1c\uc5d0 \ub110\ub9ac \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uadf8\ub7ec\ub098, \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \ub54c \ubcf4\uc548\uc740 \uac00\uc7a5 \uc911\uc694\ud55c \uace0\ub824\uc0ac\ud56d \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ub300\ud55c \ubcf4\uc548 \uace0\ub824\uc0ac\ud56d\uacfc CORS(\uad50\ucc28 \ucd9c\ucc98 \ub9ac\uc18c\uc2a4 \uacf5\uc720) \uc815\ucc45\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. Express\uc758 \ubcf4\uc548 \uace0\ub824\uc0ac\ud56d\u2026","rel":"","context":"&quot;Express\uc11c\ubc84\uac1c\ubc1c&quot;\uc5d0\uc11c","block_context":{"text":"Express\uc11c\ubc84\uac1c\ubc1c","link":"https:\/\/atmokpo.com\/w\/category\/express%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41114,"url":"https:\/\/atmokpo.com\/w\/41114\/","url_meta":{"origin":38368,"position":1},"title":"2.Next.js\uc640 Nest.js \uac1c\uc694\uc640 \ud658\uacbd \uc124\uc815, \uac1c\ubc1c \ud658\uacbd \uc124\uc815 \ubc0f \ucd08\uae30 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc7a1\uae30","author":"root","date":"2024\ub144 11\uc6d4 06\uc77c","format":false,"excerpt":"\uc774 \ube14\ub85c\uadf8 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 Next.js\uc640 Nest.js\uc758 \uae30\ubcf8 \uac1c\uc694\uc640 \ud568\uaed8 \uac1c\ubc1c \ud658\uacbd \uc124\uc815, \ucd08\uae30 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc131\uc744 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. 1. Next.js \uac1c\uc694 Next.js\ub294 React \uae30\ubc18\uc758 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc11c\ubc84 \uc0ac\uc774\ub4dc \ub80c\ub354\ub9c1(SSR) \ubc0f \uc815\uc801 \uc6f9\uc0ac\uc774\ud2b8 \uc0dd\uc131(SSG)\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc131\ub2a5\uc744 \ucd5c\uc801\ud654\ud558\uace0 SEO \uce5c\ud654\uc801\uc778 \ud398\uc774\uc9c0\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Next.js\ub294 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uba70, \ud398\uc774\uc9c0 \uae30\ubc18\uc758 \ub77c\uc6b0\ud305\u2026","rel":"","context":"&quot;nextjs&quot;\uc5d0\uc11c","block_context":{"text":"nextjs","link":"https:\/\/atmokpo.com\/w\/category\/nextjs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":43354,"url":"https:\/\/atmokpo.com\/w\/43354\/","url_meta":{"origin":38368,"position":2},"title":"[Electron]  012. Electron\uc758 \ubcf4\uc548 \ubaa8\ubc94 \uc0ac\ub840, CSP (Content Security Policy) \uc124\uc815 \ubc0f \uad8c\uc7a5 \uc0ac\ud56d","author":"root","date":"2024\ub144 11\uc6d4 26\uc77c","format":false,"excerpt":"Electron\uc740 \ub2e4\uc591\ud55c \ud50c\ub7ab\ud3fc\uc5d0\uc11c \ub370\uc2a4\ud06c\ud1b1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \ub9e4\uc6b0 \uc720\uc6a9\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc, \ubcf4\uc548\uc758 \uc911\uc694\uc131\uc744 \uac04\uacfc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Electron \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ub300\ud55c \ubcf4\uc548 \ubaa8\ubc94 \uc0ac\ub840\uc640 Content Security Policy(CSP) \uc124\uc815 \ubc29\ubc95 \ubc0f \uad8c\uc7a5 \uc0ac\ud56d\uc744 \uae4a\uc774 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Electron\uc758 \ubcf4\uc548 \ubb38\uc81c \uc774\ud574\ud558\uae30 Electron\uc740 Chromium\uacfc Node.js\ub97c \uae30\ubc18\uc73c\ub85c \ud558\uc5ec \uc791\ub3d9\ud558\ubbc0\ub85c, \uc774 \ub450 \uae30\uc220\uc758\u2026","rel":"","context":"&quot;electron&quot;\uc5d0\uc11c","block_context":{"text":"electron","link":"https:\/\/atmokpo.com\/w\/category\/electron\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":43374,"url":"https:\/\/atmokpo.com\/w\/43374\/","url_meta":{"origin":38368,"position":3},"title":"[Electron]  010. Electron\uacfc Node.js \ud1b5\ud569\ud558\uae30, \ud30c\uc77c \uc2dc\uc2a4\ud15c \uc811\uadfc, API \ud638\ucd9c \ub4f1\uc758 \uc608\uc2dc","author":"root","date":"2024\ub144 11\uc6d4 26\uc77c","format":false,"excerpt":"1. Electron \uc18c\uac1c Electron\uc740 GitHub\uc5d0\uc11c \uac1c\ubc1c\ud55c \uc624\ud508\uc18c\uc2a4 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc6f9 \uae30\uc220(HTML, CSS, JavaScript)\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc2a4\ud06c\ud1b1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. Electron\uc740 Chromium\uacfc Node.js\ub97c \uacb0\ud569\ud558\uc5ec \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub370\uc2a4\ud06c\ud1b1\uc73c\ub85c \ubcc0\ud658\ud558\ub294 \ub370 \ud544\uc694\ud55c \ubaa8\ub4e0 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ub85c \uc778\ud574 \uac1c\ubc1c\uc790\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\ub418\ub358 \uacbd\ud5d8\uc744 \uadf8\ub300\ub85c \ub370\uc2a4\ud06c\ud1b1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc73c\ub85c \uc774\uc5b4\uac08 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 2. Node.js\ub780 \ubb34\uc5c7\uc778\uac00? Node.js\ub294 \uc774\ubca4\ud2b8\u2026","rel":"","context":"&quot;electron&quot;\uc5d0\uc11c","block_context":{"text":"electron","link":"https:\/\/atmokpo.com\/w\/category\/electron\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41118,"url":"https:\/\/atmokpo.com\/w\/41118\/","url_meta":{"origin":38368,"position":4},"title":"45.Next.js\uc640 Nest.js\uc5d0\uc11c API \uce90\uc2f1\uacfc \uc131\ub2a5 \ucd5c\uc801\ud654, API \uc751\ub2f5 \uc18d\ub3c4\ub97c \ub192\uc774\uae30 \uc704\ud55c \ucd5c\uc801\ud654 \uc804\ub7b5","author":"root","date":"2024\ub144 11\uc6d4 06\uc77c","format":false,"excerpt":"\uc791\uc131\uc77c: 2023\ub144 10\uc6d4 1\uc77c \uc800\uc790: \uc870\uad11\ud615 1. \uc11c\ub860 \uc624\ub298\ub0a0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uac1c\uc120\ud558\uae30 \uc704\ud574 \ube60\ub978 \uc751\ub2f5 \uc18d\ub3c4\ub97c \uc694\uad6c\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. Next.js\uc640 Nest.js\ub294 \uac01\uac01 \ud504\ub860\ud2b8\uc5d4\ub4dc\uc640 \ubc31\uc5d4\ub4dc\uc5d0\uc11c \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774 \ub458\uc758 \uc870\ud569\uc744 \ud65c\uc6a9\ud558\uba74 \ud604\ub300\uc801\uc778 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ub300\uaddc\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c\ub294 API \uc751\ub2f5 \uc18d\ub3c4\ub97c \ub192\uc774\uae30 \uc704\ud55c \ub2e4\uc591\ud55c \uc804\ub7b5\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.\u2026","rel":"","context":"&quot;nextjs&quot;\uc5d0\uc11c","block_context":{"text":"nextjs","link":"https:\/\/atmokpo.com\/w\/category\/nextjs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":43334,"url":"https:\/\/atmokpo.com\/w\/43334\/","url_meta":{"origin":38368,"position":5},"title":"[Electron]  004. Electron \ud658\uacbd \uc124\uc815\ud558\uae30, \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc124\uba85","author":"root","date":"2024\ub144 11\uc6d4 26\uc77c","format":false,"excerpt":"004. Electron \ud658\uacbd \uc124\uc815\ud558\uae30, \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc124\uba85 Electron\uc740 \uc6f9 \uae30\uc220\uc744 \ud65c\uc6a9\ud558\uc5ec \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \ub370\uc2a4\ud06c\ud1b1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294 \uc624\ud508 \uc18c\uc2a4 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Electron \uac1c\ubc1c\uc744 \uc2dc\uc791\ud558\uae30 \uc704\ud55c \ud658\uacbd \uc124\uc815 \ubc29\ubc95\uacfc \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870\ub97c \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Electron \uc124\uce58 \uc900\ube44 Electron\uc740 Node.js \uc704\uc5d0\uc11c \uc791\ub3d9\ud558\ubbc0\ub85c \uba3c\uc800 Node.js\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Node.js\ub294\u2026","rel":"","context":"&quot;electron&quot;\uc5d0\uc11c","block_context":{"text":"electron","link":"https:\/\/atmokpo.com\/w\/category\/electron\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38368","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=38368"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38368\/revisions"}],"predecessor-version":[{"id":38369,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38368\/revisions\/38369"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}