{"id":38378,"date":"2024-11-01T17:18:02","date_gmt":"2024-11-01T17:18:02","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38378"},"modified":"2024-11-26T06:44:29","modified_gmt":"2024-11-26T06:44:29","slug":"express-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%eb%8d%b0%ec%9d%b4%ed%84%b0-%eb%aa%a8%eb%8d%b8%eb%a7%81-%eb%b0%8f-%ec%8a%a4%ed%82%a4%eb%a7%88-%ec%a0%95%ec%9d%98","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38378\/","title":{"rendered":"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758"},"content":{"rendered":"<p><body><\/p>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 Express \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub370\uc774\ud130\ub97c \uc5b4\ub5bb\uac8c \uad6c\uc870\ud654\ud560\uc9c0\ub97c \uc815\uc758\ud558\ub294 \uacfc\uc815\uc774\uba70, \uc2a4\ud0a4\ub9c8\ub294 \uc774 \uad6c\uc870\ub97c \uad6c\uccb4\ud654\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 MongoDB\uc640 Mongoose\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc608\uc81c \ucf54\ub4dc\ub97c \uc9c4\ud589\ud558\uba70, \ub370\uc774\ud130\uc758 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/p>\n<h2>\ubaa9\ucc28<\/h2>\n<ul>\n<li><a href=\"#section1\">1. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc758 \uc911\uc694\uc131<\/a><\/li>\n<li><a href=\"#section2\">2. MongoDB\uc640 Mongoose \uc18c\uac1c<\/a><\/li>\n<li><a href=\"#section3\">3. \ub370\uc774\ud130 \uc2a4\ud0a4\ub9c8 \uc815\uc758<\/a><\/li>\n<li><a href=\"#section4\">4. \uae30\ubcf8 CRUD \uc791\uc5c5<\/a><\/li>\n<li><a href=\"#section5\">5. \uacb0\ub860<\/a><\/li>\n<\/ul>\n<h2 id=\"section1\">1. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc758 \uc911\uc694\uc131<\/h2>\n<p>\ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uacb0\uc815\uc9d3\ub294 \uc911\uc694\ud55c \uacfc\uc815\uc785\ub2c8\ub2e4. \uc798 \uc124\uacc4\ub41c \ub370\uc774\ud130 \ubaa8\ub378\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc7a5\uc810\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc218\uc815 \uc6a9\uc774\uc131: \ub370\uc774\ud130 \uad6c\uc870\uac00 \uba85\ud655\ud558\uac8c \uc815\uc758\ub418\uba74 \uc218\uc815\uc774 \uc26c\uc6cc\uc9d1\ub2c8\ub2e4.<\/li>\n<li>\uc720\uc9c0\ubcf4\uc218: \uc77c\uad00\ub41c \ub370\uc774\ud130 \uad6c\uc870\ub294 \uc720\uc9c0\ubcf4\uc218\ub97c \uc6a9\uc774\ud558\uac8c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ud6a8\uc728\uc131: \ucd5c\uc801\ud654\ub41c \ub370\uc774\ud130 \ubaa8\ub378\uc740 \uc131\ub2a5\uc744 \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2 id=\"section2\">2. MongoDB\uc640 Mongoose \uc18c\uac1c<\/h2>\n<p>MongoDB\ub294 NoSQL \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub85c, \ub370\uc774\ud130\uac00 JSON \ud615\uc2dd\uc73c\ub85c \uc800\uc7a5\ub429\ub2c8\ub2e4. Mongoose\ub294 MongoDB\ub97c Node.js\uc640 \uc5f0\uacb0\ud574\uc8fc\ub294 ODM(Object Data Modeling) \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. Mongoose\ub97c \ud1b5\ud574 \ub370\uc774\ud130 \ubaa8\ub378\uc744 \uc27d\uac8c \uc815\uc758\ud558\uace0, CRUD \uc5f0\uc0b0\uc744 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>Mongoose \uc124\uce58 \ubc0f \uc124\uc815<\/h3>\n<pre><code>npm install mongoose<\/code><\/pre>\n<hr\/>\n<h3>\uac04\ub2e8\ud55c \uc11c\ubc84 \uc124\uc815<\/h3>\n<pre><code>javascript\nconst express = require('express');\nconst mongoose = require('mongoose');\n\nconst app = express();\napp.use(express.json());\n\nmongoose.connect('mongodb:\/\/localhost:27017\/mydatabase', {\n    useNewUrlParser: true,\n    useUnifiedTopology: true,\n});\n\napp.listen(3000, () =&gt; {\n    console.log('Server is running on port 3000');\n});\n<\/code><\/pre>\n<h2 id=\"section3\">3. \ub370\uc774\ud130 \uc2a4\ud0a4\ub9c8 \uc815\uc758<\/h2>\n<p>Mongoose\ub97c \uc0ac\uc6a9\ud558\uba74 \ubaa8\ub378\uc744 \uc815\uc758\ud558\uace0, \uac01 \ubaa8\ub378\uc774 \uc5b4\ub5bb\uac8c \ub370\uc774\ud130\ub97c \uad6c\uc870\ud654\ud560\uc9c0\ub97c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uacc4\ud55c\ub2e4\uace0 \uac00\uc815\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c \ubaa8\ub378 \uc815\uc758\ud558\uae30<\/h3>\n<pre><code>javascript\nconst postSchema = new mongoose.Schema({\n    title: {\n        type: String,\n        required: true,\n        trim: true,\n    },\n    content: {\n        type: String,\n        required: true,\n    },\n    author: {\n        type: String,\n        required: true,\n    },\n    createdAt: {\n        type: Date,\n        default: Date.now,\n    },\n    tags: [String],\n});\n\nconst Post = mongoose.model('Post', postSchema);\n<\/code><\/pre>\n<p>\uc704\uc758 \uc2a4\ud0a4\ub9c8\uc5d0\uc11c \uac01 \ud544\ub4dc\uc758 \uc720\ud615\uacfc \uc81c\uc57d \uc870\uac74\uc744 \uc815\uc758\ud588\uc2b5\ub2c8\ub2e4. <code>required<\/code> \uc18d\uc131\uc740 \ud544\ub4dc\uac00 \ubc18\ub4dc\uc2dc \ud544\uc694\ud568\uc744 \ub098\ud0c0\ub0b4\uace0, <code>trim<\/code> \uc18d\uc131\uc740 \ubb38\uc790\uc5f4\uc758 \uacf5\ubc31\uc744 \uc81c\uac70\ud569\ub2c8\ub2e4.<\/p>\n<h2 id=\"section4\">4. \uae30\ubcf8 CRUD \uc791\uc5c5<\/h2>\n<p>\ub370\uc774\ud130 \ubaa8\ub378\uc774 \uc815\uc758\ub418\uba74 CRUD \uc791\uc5c5\uc744 \ud1b5\ud574 \ub370\uc774\ud130\ub97c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac01 \uc791\uc5c5\uc5d0 \ub300\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<h3>1) Create: \uc0c8\ub85c\uc6b4 \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c \ucd94\uac00<\/h3>\n<pre><code>javascript\napp.post('\/posts', async (req, res) =&gt; {\n    try {\n        const newPost = new Post(req.body);\n        await newPost.save();\n        res.status(201).send(newPost);\n    } catch (error) {\n        res.status(400).send(error);\n    }\n});\n<\/code><\/pre>\n<h3>2) Read: \ubaa8\ub4e0 \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c \uc870\ud68c<\/h3>\n<pre><code>javascript\napp.get('\/posts', async (req, res) =&gt; {\n    try {\n        const posts = await Post.find({});\n        res.send(posts);\n    } catch (error) {\n        res.status(500).send(error);\n    }\n});\n<\/code><\/pre>\n<h3>3) Update: \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c \uc218\uc815<\/h3>\n<pre><code>javascript\napp.patch('\/posts\/:id', async (req, res) =&gt; {\n    try {\n        const post = await Post.findByIdAndUpdate(req.params.id, req.body, { new: true, runValidators: true });\n        if (!post) {\n            return res.status(404).send();\n        }\n        res.send(post);\n    } catch (error) {\n        res.status(400).send(error);\n    }\n});\n<\/code><\/pre>\n<h3>4) Delete: \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c \uc0ad\uc81c<\/h3>\n<pre><code>javascript\napp.delete('\/posts\/:id', async (req, res) =&gt; {\n    try {\n        const post = await Post.findByIdAndDelete(req.params.id);\n        if (!post) {\n            return res.status(404).send();\n        }\n        res.send(post);\n    } catch (error) {\n        res.status(500).send(error);\n    }\n});\n<\/code><\/pre>\n<h2 id=\"section5\">5. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express\uc640 Mongoose\ub97c \uc774\uc6a9\ud55c \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc9c1\uad00\uc801\uc778 \ub370\uc774\ud130 \uad6c\uc870\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ud6a8\uc728\uc131 \ubc0f \uc720\uc9c0\ubcf4\uc218\uc131\uc744 \ub192\uc5ec \uc90d\ub2c8\ub2e4. Mongoose\ub97c \ud65c\uc6a9\ud55c CRUD \uc791\uc5c5\uc744 \ud1b5\ud574 \ub370\uc774\ud130\uc758 \uc0dd\uc131, \uc870\ud68c, \uc218\uc815, \uc0ad\uc81c\ub97c \uc27d\uac8c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc774\ub85c\uc368 \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc, Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc774\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \uac15\uc88c\uc5d0\uc11c\ub294 \ub354 \ubcf5\uc7a1\ud55c \ub370\uc774\ud130 \uad00\uacc4\uc640 \uace0\uae09 Mongoose \uae30\ub2a5\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 Express \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub370\uc774\ud130\ub97c \uc5b4\ub5bb\uac8c \uad6c\uc870\ud654\ud560\uc9c0\ub97c \uc815\uc758\ud558\ub294 \uacfc\uc815\uc774\uba70, \uc2a4\ud0a4\ub9c8\ub294 \uc774 \uad6c\uc870\ub97c \uad6c\uccb4\ud654\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 MongoDB\uc640 Mongoose\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc608\uc81c \ucf54\ub4dc\ub97c \uc9c4\ud589\ud558\uba70, \ub370\uc774\ud130\uc758 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4. \ubaa9\ucc28 1. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc758 \uc911\uc694\uc131 2. MongoDB\uc640 Mongoose \uc18c\uac1c 3. \ub370\uc774\ud130 \uc2a4\ud0a4\ub9c8 \uc815\uc758 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38378\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \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-38378","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, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \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\/38378\/\" \/>\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, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 Express \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub370\uc774\ud130\ub97c \uc5b4\ub5bb\uac8c \uad6c\uc870\ud654\ud560\uc9c0\ub97c \uc815\uc758\ud558\ub294 \uacfc\uc815\uc774\uba70, \uc2a4\ud0a4\ub9c8\ub294 \uc774 \uad6c\uc870\ub97c \uad6c\uccb4\ud654\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 MongoDB\uc640 Mongoose\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc608\uc81c \ucf54\ub4dc\ub97c \uc9c4\ud589\ud558\uba70, \ub370\uc774\ud130\uc758 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4. \ubaa9\ucc28 1. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc758 \uc911\uc694\uc131 2. MongoDB\uc640 Mongoose \uc18c\uac1c 3. \ub370\uc774\ud130 \uc2a4\ud0a4\ub9c8 \uc815\uc758 &hellip; \ub354 \ubcf4\uae30 &quot;Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38378\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T17:18:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:29+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\/38378\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38378\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\",\"datePublished\":\"2024-11-01T17:18:02+00:00\",\"dateModified\":\"2024-11-26T06:44:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38378\/\"},\"wordCount\":43,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Express\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38378\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38378\/\",\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T17:18:02+00:00\",\"dateModified\":\"2024-11-26T06:44:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38378\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38378\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38378\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \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, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \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\/38378\/","og_locale":"ko_KR","og_type":"article","og_title":"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 Express \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub370\uc774\ud130\ub97c \uc5b4\ub5bb\uac8c \uad6c\uc870\ud654\ud560\uc9c0\ub97c \uc815\uc758\ud558\ub294 \uacfc\uc815\uc774\uba70, \uc2a4\ud0a4\ub9c8\ub294 \uc774 \uad6c\uc870\ub97c \uad6c\uccb4\ud654\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 MongoDB\uc640 Mongoose\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc608\uc81c \ucf54\ub4dc\ub97c \uc9c4\ud589\ud558\uba70, \ub370\uc774\ud130\uc758 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \ud3ec\ud568\ud569\ub2c8\ub2e4. \ubaa9\ucc28 1. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1\uc758 \uc911\uc694\uc131 2. MongoDB\uc640 Mongoose \uc18c\uac1c 3. \ub370\uc774\ud130 \uc2a4\ud0a4\ub9c8 \uc815\uc758 &hellip; \ub354 \ubcf4\uae30 \"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758\"","og_url":"https:\/\/atmokpo.com\/w\/38378\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T17:18:02+00:00","article_modified_time":"2024-11-26T06:44:29+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\/38378\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38378\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758","datePublished":"2024-11-01T17:18:02+00:00","dateModified":"2024-11-26T06:44:29+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38378\/"},"wordCount":43,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Express\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38378\/","url":"https:\/\/atmokpo.com\/w\/38378\/","name":"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \uc815\uc758 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T17:18:02+00:00","dateModified":"2024-11-26T06:44:29+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38378\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38378\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38378\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Express \uac1c\ubc1c \uac15\uc88c, \ub370\uc774\ud130 \ubaa8\ub378\ub9c1 \ubc0f \uc2a4\ud0a4\ub9c8 \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\/38378","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=38378"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38378\/revisions"}],"predecessor-version":[{"id":38379,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38378\/revisions\/38379"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}