{"id":38336,"date":"2024-11-01T17:17:42","date_gmt":"2024-11-01T17:17:42","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38336"},"modified":"2024-11-26T06:44:36","modified_gmt":"2024-11-26T06:44:36","slug":"express-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%ea%b6%8c%ed%95%9c-%ea%b4%80%eb%a6%ac-%eb%b0%8f-%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%97%ad%ed%95%a0-%ec%a0%95%ec%9d%98","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38336\/","title":{"rendered":"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758"},"content":{"rendered":"<p>Express.js\ub294 Node.js\ub97c \uc704\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc694\uccad\uc5d0 \ub300\ud574 \uc27d\uac8c \uc11c\ubc84 \uc751\ub2f5\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc84c\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uace0, \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\ub97c \ud1b5\ud574 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uad8c\ud55c \uad00\ub9ac\uc758 \uc911\uc694\uc131<\/h2>\n<p>\uad8c\ud55c \uad00\ub9ac\ub780 \ud2b9\uc815 \ub9ac\uc18c\uc2a4\ub098 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc81c\uacf5\ud558\uac70\ub098 \uc81c\ud55c\ud558\ub294 \uacfc\uc815\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uad8c\ud55c \uad00\ub9ac\ub294 \ud2b9\ud788 \ub2e4\uc74c\uacfc \uac19\uc740 \uc774\uc720\ub85c \uc911\uc694\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ubcf4\uc548 \uac15\ud654:<\/strong> \uc801\uc808\ud55c \uad8c\ud55c \uad00\ub9ac\ub97c \ud1b5\ud574 \ub370\uc774\ud130 \uc720\ucd9c\uc774\ub098 \uc2dc\uc2a4\ud15c \uce68\ud574\ub97c \uc608\ubc29\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc720\uc5f0\ud55c \uc0ac\uc6a9\uc790 \uacbd\ud5d8:<\/strong> \uac01 \uc0ac\uc6a9\uc790\ub098 \uadf8\ub8f9\uc5d0 \ub9de\ucda4\ud654\ub41c \uacbd\ud5d8\uc744 \uc81c\uacf5\ud558\uc5ec \uc0ac\uc6a9\uc790\uc758 \ub9cc\uc871\ub3c4\ub97c \ub192\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\ubc95\uc801 \uc694\uad6c \uc0ac\ud56d \uc900\uc218:<\/strong> \ub9ce\uc740 \uc0b0\uc5c5\uc5d0\uc11c \uaddc\uc815\ub41c \ubcf4\uc548 \uae30\uc900\uc744 \ucda9\uc871\ud558\uae30 \uc704\ud55c \uc694\uad6c\uc0ac\ud56d\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758<\/h2>\n<p>\uc0ac\uc6a9\uc790 \uc5ed\ud560\uc740 \uc2dc\uc2a4\ud15c \ub0b4\uc5d0\uc11c \uc0ac\uc6a9\uc790\uac00 \uac00\uc9c8 \uc218 \uc788\ub294 \ud2b9\uc815 \uad8c\ud55c\uc758 \uc9d1\ud569\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. Roles\uc740 \uc77c\ubc18\uc801\uc73c\ub85c \ub2e4\uc74c\uacfc \uac19\uc740 \ud615\ud0dc\ub85c \uc815\uc758\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\nconst roles = {\n    ADMIN: 'admin',\n    USER: 'user',\n    GUEST: 'guest',\n};\n<\/code>\n<\/pre>\n<h2>3. Express.js\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac \uc124\uc815\ud558\uae30<\/h2>\n<p>Express.js\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac\ub97c \uc124\uc815\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub2e4\uc74c\ub2e8\uacc4\uac00 \ud544\uc694\ud569\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc0ac\uc6a9\uc790 \uc778\uc99d(authenticaion) \ubaa8\ub4c8 \uc124\uc815<\/li>\n<li>\uc5ed\ud560 \uae30\ubc18 \uc811\uadfc \uc81c\uc5b4(Role Based Access Control, RBAC) \uad6c\ud604<\/li>\n<li>\ubbf8\ub4e4\uc6e8\uc5b4 \uac1c\ubc1c<\/li>\n<\/ol>\n<h3>3.1 \uc0ac\uc6a9\uc790 \uc778\uc99d \ubaa8\ub4c8 \uc124\uc815<\/h3>\n<p>\uc0ac\uc6a9\uc790\ub97c \uc778\uc99d\ud558\uae30 \uc704\ud574 <code>passport.js<\/code>\uc640 \uac19\uc740 \uc778\uc99d \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac04\ub2e8\ud55c \uc0ac\uc6a9\uc790 \uc778\uc99d \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\nconst express = require('express');\nconst passport = require('passport');\nconst session = require('express-session');\nconst bodyParser = require('body-parser');\nconst LocalStrategy = require('passport-local').Strategy;\n\nconst app = express();\napp.use(bodyParser.urlencoded({ extended: false }));\napp.use(session({ secret: 'your_secret_key', resave: false, saveUninitialized: false }));\napp.use(passport.initialize());\napp.use(passport.session());\n\nconst users = [{ id: 1, username: 'admin', password: 'admin', role: 'admin' }];\n\npassport.use(new LocalStrategy((username, password, done) =&gt; {\n    const user = users.find(u =&gt; u.username === username &amp;&amp; u.password === password);\n    if (user) {\n        return done(null, user);\n    } else {\n        return done(null, false, { message: 'Incorrect credentials.' });\n    }\n}));\n\npassport.serializeUser((user, done) =&gt; {\n    done(null, user.id);\n});\n\npassport.deserializeUser((id, done) =&gt; {\n    const user = users.find(u =&gt; u.id === id);\n    done(null, user);\n});\n\napp.post('\/login', passport.authenticate('local', {\n    successRedirect: '\/dashboard',\n    failureRedirect: '\/login'\n}));\n<\/code>\n<\/pre>\n<h3>3.2 \uc5ed\ud560 \uae30\ubc18 \uc811\uadfc \uc81c\uc5b4(RBAC)<\/h3>\n<p>RBAC\ub294 \uc0ac\uc6a9\uc790\uc758 \uc5ed\ud560\uc5d0 \ub530\ub77c \uc811\uadfc \uad8c\ud55c\uc744 \uad00\ub9ac\ud558\ub294 \uae30\ubc95\uc785\ub2c8\ub2e4. \uac01 \uc0ac\uc6a9\uc790\ub294 \ud2b9\uc815 \uc5ed\ud560\uc744 \ubd80\uc5ec\ubc1b\uace0, \uc774\ub294 \uc0ac\uc6a9\uc790\uc758 \uac00\ub2a5\ud55c \ud589\ub3d9\uc744 \uc81c\ud55c\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc5ed\ud560 \uae30\ubc18 \uc811\uadfc \uc81c\uc5b4 \ubbf8\ub4e4\uc6e8\uc5b4\uc758 \uc608\uc785\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\nconst roleAuthorization = (role) =&gt; {\n    return (req, res, next) =&gt; {\n        if (req.isAuthenticated() &amp;&amp; req.user.role === role) {\n            return next();\n        } else {\n            return res.status(403).json({ message: 'Forbidden' });\n        }\n    };\n};\n\napp.get('\/admin', roleAuthorization('admin'), (req, res) =&gt; {\n    res.send('Welcome Admin');\n});\n\napp.get('\/user', roleAuthorization('user'), (req, res) =&gt; {\n    res.send('Welcome User');\n});\n<\/code>\n<\/pre>\n<h3>3.3 \ubbf8\ub4e4\uc6e8\uc5b4 \uac1c\ubc1c<\/h3>\n<p>\ubbf8\ub4e4\uc6e8\uc5b4\ub294 Express.js\uc758 \uc911\uc694\ud55c \uad6c\uc131 \uc694\uc18c\ub85c, \uc694\uccad\uacfc \uc751\ub2f5 \uac1d\uccb4\ub97c \uc218\uc815\ud558\uac70\ub098 \uc694\uccad \ud750\ub984\uc744 \uc81c\uc5b4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad8c\ud55c \uad00\ub9ac \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \uad6c\ud604\ud558\ub294 \uc608\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\nconst authMiddleware = (req, res, next) =&gt; {\n    if (req.isAuthenticated()) {\n        return next(); \/\/ \uc778\uc99d\uc5d0 \uc131\uacf5\ud558\uba74 \ub2e4\uc74c \ubbf8\ub4e4\uc6e8\uc5b4\ub85c \uc774\ub3d9\n    } else {\n        return res.redirect('\/login'); \/\/ \uc778\uc99d\uc5d0 \uc2e4\ud328\ud558\uba74 \ub85c\uadf8\uc778 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9\n    }\n};\n\napp.get('\/dashboard', authMiddleware, (req, res) =&gt; {\n    res.send('User Dashboard');\n});\n<\/code>\n<\/pre>\n<h2>4. \uc0ac\uc6a9\uc790 \uc815\uc758 \uc5ed\ud560 \ud655\uc7a5\ud558\uae30<\/h2>\n<p>\uae30\ubcf8\uc801\uc778 \uc5ed\ud560 \uc678\uc5d0\ub3c4 \uc0ac\uc6a9\uc790\uc758 \uc5ed\ud560\uc744 \ucd94\uac00\ud558\uac70\ub098 \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ud2b9\uc815 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc561\uc138\uc2a4 \uad8c\ud55c\uc744 \uac00\uc9c4 <code>editor<\/code> \uc5ed\ud560\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\nconst roles = {\n    ADMIN: 'admin',\n    USER: 'user',\n    GUEST: 'guest',\n    EDITOR: 'editor',\n};\n\n\/\/ \uc5ed\ud560 \uae30\uc900 \uae30\ub2a5 \ucd94\uac00\napp.get('\/edit-content', roleAuthorization('editor'), (req, res) =&gt; {\n    res.send('Edit Content Page');\n});\n<\/code>\n<\/pre>\n<h2>5. \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \ud1b5\ud569\ud558\uae30<\/h2>\n<p>\uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c\ub294 \uc0ac\uc6a9\uc790 \ubc0f \uc5ed\ud560 \uc815\ubcf4\ub97c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc800\uc7a5\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. MongoDB\uc640 <code>mongoose<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uc5ed\ud560\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre>\n<code>\nconst mongoose = require('mongoose');\n\nmongoose.connect('mongodb:\/\/localhost\/yourdb', {\n    useNewUrlParser: true,\n    useUnifiedTopology: true\n});\n\nconst userSchema = new mongoose.Schema({\n    username: String,\n    password: String,\n    role: String\n});\n\nconst User = mongoose.model('User', userSchema);\n\n\/\/ \uc0ac\uc6a9\uc790\ub97c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc800\uc7a5\ud558\ub294 \uc608\napp.post('\/register', async (req, res) =&gt; {\n    const { username, password, role } = req.body;\n    const newUser = new User({ username, password, role });\n    await newUser.save();\n    res.send('User registered!');\n});\n<\/code>\n<\/pre>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\uc758 \uae30\ucd08\ubd80\ud130 DB\uc640\uc758 \ud1b5\ud569\uae4c\uc9c0 \ub2e4\uc591\ud558\uac8c \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uad8c\ud55c \uad00\ub9ac\ub294 \ubcf4\uc548 \ubc0f \uc6b4\uc601 \ud6a8\uc728\uc131\uc744 \uc704\ud574 \ud544\uc218\uc801\uc774\uba70, \uc5ed\ud560 \uae30\ubc18 \uc811\uadfc \uc81c\uc5b4(RBAC)\ub294 \uc774\ub97c \uc704\ud55c \ud6a8\uacfc\uc801\uc778 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc5ec\ub7ec\ubd84\uc758 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc774\ub7ec\ud55c \uae30\ub2a5\ub4e4\uc744 \uad6c\ud604\ud558\uc5ec \ub354\uc6b1 \uc548\uc804\ud558\uace0 \ud6a8\uc728\uc801\uc778 \uc2dc\uc2a4\ud15c\uc744 \ub9cc\ub4e4\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h2>7. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.passportjs.org\/\">Passport.js \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/expressjs.com\/en\/guide\/using-middleware.html\">Express.js \ubbf8\ub4e4\uc6e8\uc5b4 \uac00\uc774\ub4dc<\/a><\/li>\n<li><a href=\"https:\/\/mongoosejs.com\/docs\/guide.html\">Mongoose \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Express.js\ub294 Node.js\ub97c \uc704\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc694\uccad\uc5d0 \ub300\ud574 \uc27d\uac8c \uc11c\ubc84 \uc751\ub2f5\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc84c\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uace0, \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\ub97c \ud1b5\ud574 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uad8c\ud55c \uad00\ub9ac\uc758 \uc911\uc694\uc131 \uad8c\ud55c \uad00\ub9ac\ub780 \ud2b9\uc815 \ub9ac\uc18c\uc2a4\ub098 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc81c\uacf5\ud558\uac70\ub098 \uc81c\ud55c\ud558\ub294 \uacfc\uc815\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uad8c\ud55c \uad00\ub9ac\ub294 \ud2b9\ud788 \ub2e4\uc74c\uacfc &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38336\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758&#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-38336","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, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758 - \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\/38336\/\" \/>\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, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Express.js\ub294 Node.js\ub97c \uc704\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc694\uccad\uc5d0 \ub300\ud574 \uc27d\uac8c \uc11c\ubc84 \uc751\ub2f5\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc84c\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uace0, \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\ub97c \ud1b5\ud574 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uad8c\ud55c \uad00\ub9ac\uc758 \uc911\uc694\uc131 \uad8c\ud55c \uad00\ub9ac\ub780 \ud2b9\uc815 \ub9ac\uc18c\uc2a4\ub098 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc81c\uacf5\ud558\uac70\ub098 \uc81c\ud55c\ud558\ub294 \uacfc\uc815\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uad8c\ud55c \uad00\ub9ac\ub294 \ud2b9\ud788 \ub2e4\uc74c\uacfc &hellip; \ub354 \ubcf4\uae30 &quot;Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38336\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T17:17:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:36+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38336\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38336\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\",\"datePublished\":\"2024-11-01T17:17:42+00:00\",\"dateModified\":\"2024-11-26T06:44:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38336\/\"},\"wordCount\":32,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Express\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38336\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38336\/\",\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T17:17:42+00:00\",\"dateModified\":\"2024-11-26T06:44:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38336\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38336\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38336\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\"}]},{\"@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, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758 - \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\/38336\/","og_locale":"ko_KR","og_type":"article","og_title":"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Express.js\ub294 Node.js\ub97c \uc704\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uac00 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc694\uccad\uc5d0 \ub300\ud574 \uc27d\uac8c \uc11c\ubc84 \uc751\ub2f5\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc84c\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\uc5d0 \ub300\ud574 \uc0c1\uc138\ud788 \uc124\uba85\ud558\uace0, \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\ub97c \ud1b5\ud574 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uad8c\ud55c \uad00\ub9ac\uc758 \uc911\uc694\uc131 \uad8c\ud55c \uad00\ub9ac\ub780 \ud2b9\uc815 \ub9ac\uc18c\uc2a4\ub098 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc81c\uacf5\ud558\uac70\ub098 \uc81c\ud55c\ud558\ub294 \uacfc\uc815\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uad8c\ud55c \uad00\ub9ac\ub294 \ud2b9\ud788 \ub2e4\uc74c\uacfc &hellip; \ub354 \ubcf4\uae30 \"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758\"","og_url":"https:\/\/atmokpo.com\/w\/38336\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T17:17:42+00:00","article_modified_time":"2024-11-26T06:44:36+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38336\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38336\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758","datePublished":"2024-11-01T17:17:42+00:00","dateModified":"2024-11-26T06:44:36+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38336\/"},"wordCount":32,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Express\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38336\/","url":"https:\/\/atmokpo.com\/w\/38336\/","name":"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T17:17:42+00:00","dateModified":"2024-11-26T06:44:36+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38336\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38336\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38336\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Express \uac1c\ubc1c \uac15\uc88c, \uad8c\ud55c \uad00\ub9ac \ubc0f \uc0ac\uc6a9\uc790 \uc5ed\ud560 \uc815\uc758"}]},{"@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\/38336","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=38336"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38336\/revisions"}],"predecessor-version":[{"id":38337,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38336\/revisions\/38337"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}