{"id":38342,"date":"2024-11-01T17:17:44","date_gmt":"2024-11-01T17:17:44","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38342"},"modified":"2024-11-26T06:44:35","modified_gmt":"2024-11-26T06:44:35","slug":"express-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-crudcreate-read-update-delete-api-%ea%b5%ac%ed%98%84%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38342\/","title":{"rendered":"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc778 Express\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8\uc801\uc778 CRUD API\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. CRUD\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc0dd\uc131(Create), \uc77d\uae30(Read), \uc5c5\ub370\uc774\ud2b8(Update), \uc0ad\uc81c(Delete)\ud558\ub294 \uae30\ubcf8\uc801\uc778 \uc791\uc5c5\uc73c\ub85c, \ub300\ubd80\ubd84\uc758 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<h2>1. \ud658\uacbd \uc124\uc815<\/h2>\n<p>CRUD API\ub97c \uad6c\ud604\ud558\uae30 \uc704\ud574 \uba3c\uc800 Node.js\uc640 Express\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Node.js\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc740 \uacbd\uc6b0 <a href=\"https:\/\/nodejs.org\/\">Node.js \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8<\/a>\uc5d0\uc11c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Node.js\ub97c \uc124\uce58\ud55c \ud6c4, Express\ub97c \ud504\ub85c\uc81d\ud2b8\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>bash\n# \ube48 \ud3f4\ub354\ub97c \uc0dd\uc131\ud558\uace0 \uc774\ub3d9\nmkdir express-crud-api\ncd express-crud-api\n\n# npm \ucd08\uae30\ud654\nnpm init -y\n\n# Express \uc124\uce58\nnpm install express\n<\/code><\/pre>\n<h2>2. \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870<\/h2>\n<p>\uba3c\uc800 \uae30\ubcf8\uc801\uc778 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \ud30c\uc77c\uacfc \ud3f4\ub354\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>express-crud-api\/\n<ul>\n<li>server.js<\/li>\n<li>package.json<\/li>\n<li>routes\/\n<ul>\n<li>userRoutes.js<\/li>\n<\/ul>\n<\/li>\n<li>models\/\n<ul>\n<li>User.js<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>3. \uc11c\ubc84 \uc124\uc815<\/h2>\n<p>\uc774\uc81c API \uc11c\ubc84\ub97c \uc124\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. <code>server.js<\/code> \ud30c\uc77c\uc744 \uc5f4\uace0 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4. \uc774 \ud30c\uc77c\uc740 API \uc11c\ubc84\uc758 \uc5d4\ud2b8\ub9ac \ud3ec\uc778\ud2b8\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>javascript\nconst express = require('express');\nconst bodyParser = require('body-parser');\nconst userRoutes = require('.\/routes\/userRoutes');\n\nconst app = express();\nconst PORT = process.env.PORT || 3000;\n\n\/\/ Body-parser \ubbf8\ub4e4\uc6e8\uc5b4 \uc124\uc815\napp.use(bodyParser.json());\n\n\/\/ \uc720\uc800 \ub77c\uc6b0\ud130 \uc124\uc815\napp.use('\/api\/users', userRoutes);\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. \ub370\uc774\ud130 \ubaa8\ub378\ub9c1<\/h2>\n<p>\uae30\ubcf8\uc801\uc73c\ub85c \uc6b0\ub9ac\ub294 \uc0ac\uc6a9\uc790\uc758 \uc815\ubcf4\ub97c \uc800\uc7a5\ud560 \uac83\uc774\ubbc0\ub85c, \uc0ac\uc6a9\uc790 \ubaa8\ub378\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. MongoDB\ub97c \uc0ac\uc6a9\ud560 \uac83\uc744 \uac00\uc815\ud558\uace0 Mongoose\ub97c \uc124\uce58\ud558\uc5ec \ubaa8\ub378\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>bash\n# Mongoose \uc124\uce58\nnpm install mongoose\n<\/code><\/pre>\n<p>\ub2e4\uc74c\uc73c\ub85c <code>models\/User.js<\/code>\ub97c \uc0dd\uc131\ud558\uace0 \uc544\ub798\uc640 \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>javascript\nconst mongoose = require('mongoose');\n\n\/\/ Mongoose \uc2a4\ud0a4\ub9c8 \uc124\uc815\nconst userSchema = new mongoose.Schema({\n    name: {\n        type: String,\n        required: true\n    },\n    email: {\n        type: String,\n        required: true,\n        unique: true\n    },\n    age: {\n        type: Number,\n        required: true\n    }\n});\n\n\/\/ \ubaa8\ub378 \uc0dd\uc131\nconst User = mongoose.model('User', userSchema);\n\nmodule.exports = User;\n<\/code><\/pre>\n<h2>5. API \ub77c\uc6b0\ud305<\/h2>\n<p>\uc774\uc81c \uc0ac\uc6a9\uc790\uc5d0 \ub300\ud55c CRUD \uc791\uc5c5\uc744 \ucc98\ub9ac\ud558\ub294 API \uacbd\ub85c\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. <code>routes\/userRoutes.js<\/code>\ub97c \uc0dd\uc131\ud558\uace0 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>javascript\nconst express = require('express');\nconst router = express.Router();\nconst User = require('..\/models\/User');\n\n\/\/ \uc0ac\uc6a9\uc790 \uc0dd\uc131 (Create)\nrouter.post('\/', async (req, res) =&gt; {\n    const user = new User(req.body);\n    try {\n        const savedUser = await user.save();\n        res.status(201).json(savedUser);\n    } catch (error) {\n        res.status(400).json({ message: error.message });\n    }\n});\n\n\/\/ \uc0ac\uc6a9\uc790 \ubaa9\ub85d \uc870\ud68c (Read)\nrouter.get('\/', async (req, res) =&gt; {\n    try {\n        const users = await User.find();\n        res.json(users);\n    } catch (error) {\n        res.status(500).json({ message: error.message });\n    }\n});\n\n\/\/ \uc0ac\uc6a9\uc790 \uc815\ubcf4 \uc870\ud68c (Read)\nrouter.get('\/:id', async (req, res) =&gt; {\n    try {\n        const user = await User.findById(req.params.id);\n        if (!user) return res.status(404).json({ message: '\uc720\uc800\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.' });\n        res.json(user);\n    } catch (error) {\n        res.status(500).json({ message: error.message });\n    }\n});\n\n\/\/ \uc0ac\uc6a9\uc790 \uc815\ubcf4 \uc218\uc815 (Update)\nrouter.put('\/:id', async (req, res) =&gt; {\n    try {\n        const updatedUser = await User.findByIdAndUpdate(req.params.id, req.body, { new: true });\n        if (!updatedUser) return res.status(404).json({ message: '\uc720\uc800\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.' });\n        res.json(updatedUser);\n    } catch (error) {\n        res.status(400).json({ message: error.message });\n    }\n});\n\n\/\/ \uc0ac\uc6a9\uc790 \uc0ad\uc81c (Delete)\nrouter.delete('\/:id', async (req, res) =&gt; {\n    try {\n        const deletedUser = await User.findByIdAndDelete(req.params.id);\n        if (!deletedUser) return res.status(404).json({ message: '\uc720\uc800\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.' });\n        res.json({ message: '\uc720\uc800\uac00 \uc0ad\uc81c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.' });\n    } catch (error) {\n        res.status(500).json({ message: error.message });\n    }\n});\n\nmodule.exports = router;\n<\/code><\/pre>\n<h2>6. MongoDB \uc5f0\uacb0 \uc124\uc815<\/h2>\n<p>MongoDB\uc640\uc758 \uc5f0\uacb0\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. <code>server.js<\/code> \ud30c\uc77c\uc5d0 \uc5f0\uacb0 \ucf54\ub4dc\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>javascript\nconst mongoose = require('mongoose');\n\nmongoose.connect('mongodb:\/\/localhost:27017\/mydatabase', { useNewUrlParser: true, useUnifiedTopology: true })\n    .then(() =&gt; console.log('MongoDB\uc5d0 \uc5f0\uacb0\ub418\uc5c8\uc2b5\ub2c8\ub2e4.'))\n    .catch(err =&gt; console.error('MongoDB \uc5f0\uacb0 \uc624\ub958:', err));\n<\/code><\/pre>\n<h2>7. API \ud14c\uc2a4\ud2b8<\/h2>\n<p>\uc11c\ubc84 \ubc0f MongoDB \uc5f0\uacb0\uc774 \uc81c\ub300\ub85c \ub418\uc5c8\uc73c\uba74, Postman\uacfc \uac19\uc740 API \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec API\ub97c \ud14c\uc2a4\ud2b8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<ul>\n<li><strong>\uc0ac\uc6a9\uc790 \uc0dd\uc131 (POST)<\/strong>: <code>POST http:\/\/localhost:3000\/api\/users<\/code>\uc5d0 JSON \ud615\uc2dd\uc758 \uc0ac\uc6a9\uc790 \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0ac\uc6a9\uc790 \ubaa9\ub85d \uc870\ud68c (GET)<\/strong>: <code>GET http:\/\/localhost:3000\/api\/users<\/code>\ub97c \ud1b5\ud574 \ubaa8\ub4e0 \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uc870\ud68c\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud2b9\uc815 \uc0ac\uc6a9\uc790 \uc870\ud68c (GET)<\/strong>: <code>GET http:\/\/localhost:3000\/api\/users\/{id}<\/code>\ub97c \ud1b5\ud574 \ud2b9\uc815 \uc0ac\uc6a9\uc790\uc758 \uc815\ubcf4\ub97c \uc870\ud68c\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0ac\uc6a9\uc790 \uc218\uc815 (PUT)<\/strong>: <code>PUT http:\/\/localhost:3000\/api\/users\/{id}<\/code>\uc5d0 \uc218\uc815\ud560 \ub370\uc774\ud130\uc640 \ud568\uaed8 \uc694\uccad\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0ac\uc6a9\uc790 \uc0ad\uc81c (DELETE)<\/strong>: <code>DELETE http:\/\/localhost:3000\/api\/users\/{id}<\/code>\ub97c \ud1b5\ud574 \ud2b9\uc815 \uc0ac\uc6a9\uc790\ub97c \uc0ad\uc81c\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>8. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\ub97c \ud1b5\ud574 Express\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8\uc801\uc778 CRUD API\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ub354 \ub098\uc544\uac00, \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640\uc758 \uc5f0\uacb0, API \ud14c\uc2a4\ud2b8\ub97c \uc704\ud55c \ud074\ub77c\uc774\uc5b8\ud2b8 \uc0ac\uc6a9\ubc95\uae4c\uc9c0 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uae30\ubcf8\uc801\uc778 \uad6c\uc870\ub97c \ubc14\ud0d5\uc73c\ub85c \uc5ec\ub7ec\ubd84\ub9cc\uc758 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud574 \ub098\uac00\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\ucd94\uac00\uc801\uc73c\ub85c, \uc778\uc99d \ubc0f \uc778\uac00 \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uac70\ub098, \ud14c\uc2a4\ud2b8 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \ub3c4\uc785\ud558\ub294 \ub4f1\uc758 \uc791\uc5c5\uc744 \ud1b5\ud574 \ub354\uc6b1 \ubc1c\uc804\ub41c API\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uacc4\uc18d\ud574\uc11c \ud559\uc2b5\ud558\uace0 \uc2e4\uc2b5\ud558\uc5ec \ub354 \ub098\uc740 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc790\uac00 \ub418\uc5b4 \ubcf4\uc138\uc694!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc778 Express\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8\uc801\uc778 CRUD API\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. CRUD\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc0dd\uc131(Create), \uc77d\uae30(Read), \uc5c5\ub370\uc774\ud2b8(Update), \uc0ad\uc81c(Delete)\ud558\ub294 \uae30\ubcf8\uc801\uc778 \uc791\uc5c5\uc73c\ub85c, \ub300\ubd80\ubd84\uc758 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. 1. \ud658\uacbd \uc124\uc815 CRUD API\ub97c \uad6c\ud604\ud558\uae30 \uc704\ud574 \uba3c\uc800 Node.js\uc640 Express\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Node.js\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc740 \uacbd\uc6b0 Node.js \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8\uc5d0\uc11c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Node.js\ub97c \uc124\uce58\ud55c \ud6c4, &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38342\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30&#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-38342","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, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30 - \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\/38342\/\" \/>\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, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc778 Express\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8\uc801\uc778 CRUD API\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. CRUD\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc0dd\uc131(Create), \uc77d\uae30(Read), \uc5c5\ub370\uc774\ud2b8(Update), \uc0ad\uc81c(Delete)\ud558\ub294 \uae30\ubcf8\uc801\uc778 \uc791\uc5c5\uc73c\ub85c, \ub300\ubd80\ubd84\uc758 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. 1. \ud658\uacbd \uc124\uc815 CRUD API\ub97c \uad6c\ud604\ud558\uae30 \uc704\ud574 \uba3c\uc800 Node.js\uc640 Express\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Node.js\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc740 \uacbd\uc6b0 Node.js \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8\uc5d0\uc11c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Node.js\ub97c \uc124\uce58\ud55c \ud6c4, &hellip; \ub354 \ubcf4\uae30 &quot;Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38342\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T17:17:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:35+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\/38342\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38342\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30\",\"datePublished\":\"2024-11-01T17:17:44+00:00\",\"dateModified\":\"2024-11-26T06:44:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38342\/\"},\"wordCount\":65,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Express\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38342\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38342\/\",\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T17:17:44+00:00\",\"dateModified\":\"2024-11-26T06:44:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38342\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38342\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38342\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30\"}]},{\"@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, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30 - \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\/38342\/","og_locale":"ko_KR","og_type":"article","og_title":"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Node.js\uc758 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc778 Express\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8\uc801\uc778 CRUD API\ub97c \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc2ec\ub3c4 \uc788\uac8c \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. CRUD\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uc0dd\uc131(Create), \uc77d\uae30(Read), \uc5c5\ub370\uc774\ud2b8(Update), \uc0ad\uc81c(Delete)\ud558\ub294 \uae30\ubcf8\uc801\uc778 \uc791\uc5c5\uc73c\ub85c, \ub300\ubd80\ubd84\uc758 \uc6f9 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. 1. \ud658\uacbd \uc124\uc815 CRUD API\ub97c \uad6c\ud604\ud558\uae30 \uc704\ud574 \uba3c\uc800 Node.js\uc640 Express\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Node.js\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc740 \uacbd\uc6b0 Node.js \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8\uc5d0\uc11c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Node.js\ub97c \uc124\uce58\ud55c \ud6c4, &hellip; \ub354 \ubcf4\uae30 \"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/38342\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T17:17:44+00:00","article_modified_time":"2024-11-26T06:44:35+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\/38342\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38342\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30","datePublished":"2024-11-01T17:17:44+00:00","dateModified":"2024-11-26T06:44:35+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38342\/"},"wordCount":65,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Express\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38342\/","url":"https:\/\/atmokpo.com\/w\/38342\/","name":"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T17:17:44+00:00","dateModified":"2024-11-26T06:44:35+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38342\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38342\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38342\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Express \uac1c\ubc1c \uac15\uc88c, CRUD(Create, Read, Update, Delete) API \uad6c\ud604\ud558\uae30"}]},{"@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\/38342","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=38342"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38342\/revisions"}],"predecessor-version":[{"id":38343,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38342\/revisions\/38343"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}