{"id":39004,"date":"2024-11-02T02:36:16","date_gmt":"2024-11-02T02:36:16","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39004"},"modified":"2024-11-26T06:42:40","modified_gmt":"2024-11-26T06:42:40","slug":"%eb%a6%ac%ec%95%a1%ed%8a%b8%eb%a1%9c-%ed%92%80%ec%8a%a4%ed%83%9d-%ec%95%a0%ed%94%8c%eb%a6%ac%ec%bc%80%ec%9d%b4%ec%85%98-%ea%b5%ac%ec%b6%95%ed%95%98%ea%b8%b0-react%ec%99%80-express%eb%a1%9c-%ea%b0%84","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39004\/","title":{"rendered":"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95"},"content":{"rendered":"<p><body><\/p>\n<article>\n<header>\n<p>\uc791\uc131\uc790: \ub2f9\uc2e0\uc758 \uc774\ub984 | \ub0a0\uc9dc: 2023\ub144 10\uc6d4<\/p>\n<\/header>\n<section>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\ucd5c\uadfc \uc6f9 \uac1c\ubc1c \ubd84\uc57c\uc5d0\uc11c \ub9ac\uc561\ud2b8(React)\uc640 \uc775\uc2a4\ud504\ub808\uc2a4(Express)\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \ubc0f \ud504\ub808\uc784\uc6cc\ud06c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc778 \ubc18\uba74, \uc775\uc2a4\ud504\ub808\uc2a4\ub294 Node.js \ud658\uacbd\uc5d0\uc11c \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc720\uc6a9\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 \uc775\uc2a4\ud504\ub808\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc6b0\ub9ac\uac00 \ub9cc\ub4e4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\ub85c\ubd80\ud130 \ub370\uc774\ud130\ub97c \uc785\ub825\ubc1b\uace0 \uc774\ub97c \uc11c\ubc84\uc5d0\uc11c \ucc98\ub9ac\ud558\uc5ec \ub2e4\uc2dc \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \ubcf4\uc5ec\uc8fc\ub294 \uae30\ub2a5\uc744 \uac00\uc9c4 \uac04\ub2e8\ud55c &#8216;\uba54\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158&#8217;\uc785\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>2. \uae30\ubcf8_requirements<\/h2>\n<h3>2.1 \uae30\uc220 \uc2a4\ud0dd<\/h3>\n<p>\uc774 \ud504\ub85c\uc81d\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uae30\uc220 \uc2a4\ud0dd\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ub9ac\uc561\ud2b8(React) &#8211; \ud074\ub77c\uc774\uc5b8\ud2b8 \uc0ac\uc774\ub4dc UI \ub77c\uc774\ube0c\ub7ec\ub9ac<\/li>\n<li>\uc775\uc2a4\ud504\ub808\uc2a4(Express) &#8211; Node.js \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c<\/li>\n<li>MongoDB &#8211; NoSQL \ub370\uc774\ud130\ubca0\uc774\uc2a4<\/li>\n<li>Mongoose &#8211; MongoDB ODM(Object Document Mapper)<\/li>\n<li>Node.js &#8211; JavaScript \ub7f0\ud0c0\uc784 \ud658\uacbd<\/li>\n<li>Postman &#8211; API \ud14c\uc2a4\ud2b8 \ub3c4\uad6c<\/li>\n<\/ul>\n<h3>2.2 \uc0ac\uc804 \uc900\ube44<\/h3>\n<p>\ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \ub2e4\uc74c \ub3c4\uad6c\ub4e4\uc774 \uc124\uce58\ub418\uc5b4 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li>Node.js (v12 \uc774\uc0c1)<\/li>\n<li>npm \ub610\ub294 Yarn (\ud328\ud0a4\uc9c0 \ub9e4\ub2c8\uc800)<\/li>\n<li>MongoDB (\ub85c\uceec \ub610\ub294 \ud074\ub77c\uc6b0\ub4dc \uc11c\ube44\uc2a4)<\/li>\n<li>\ucf54\ub4dc \uc5d0\ub514\ud130 (VSCode \ucd94\ucc9c)<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>3. \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc124\uc815<\/h2>\n<p>\uba3c\uc800 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud558\uace0 \ud544\uc694\ud55c \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/h3>\n<pre><code>npx create-react-app memos-app<\/code><\/pre>\n<p>\uc704 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74 &#8220;memos-app&#8221;\uc774\ub77c\ub294 \ub9ac\uc561\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc0dd\uc131\ub429\ub2c8\ub2e4.<\/p>\n<h3>3.2 \uc11c\ubc84 \uce21 \ucf54\ub4dc \uc0dd\uc131<\/h3>\n<p>\ub9ac\uc561\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ub8e8\ud2b8 \ud3f4\ub354\ub85c \uc774\ub3d9\ud55c \ub4a4, \uc11c\ubc84\ub97c \uc704\ud55c \ud3f4\ub354\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>mkdir server &amp;&amp; cd server\nnpm init -y<\/code><\/pre>\n<p>\uc774\uc81c \uc775\uc2a4\ud504\ub808\uc2a4\uc640 Mongoose\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>npm install express mongoose cors<\/code><\/pre>\n<p>\uc774\uc81c &#8220;server&#8221; \ud3f4\ub354 \uc548\uc5d0 &#8220;index.js&#8221; \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \uc11c\ubc84\uc758 \uae30\ubcf8 \uad6c\uc131\uc744 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>\n\/\/ server\/index.js\nconst express = require('express');\nconst mongoose = require('mongoose');\nconst cors = require('cors');\n\nconst app = express();\nconst PORT = 5000;\n\n\/\/ Middleware\napp.use(cors());\napp.use(express.json());\n\n\/\/ MongoDB \uc5f0\uacb0\nmongoose.connect('mongodb:\/\/localhost:27017\/memos', {\n    useNewUrlParser: true,\n    useUnifiedTopology: true,\n})\n.then(() =&gt; console.log('MongoDB Connected'))\n.catch(err =&gt; console.log(err));\n\napp.listen(PORT, () =&gt; {\n    console.log(`\uc11c\ubc84\uac00 http:\/\/localhost:${PORT} \uc5d0\uc11c \uc2e4\ud589 \uc911\uc785\ub2c8\ub2e4.`);\n});<\/code><\/pre>\n<p>\uc774 \ucf54\ub4dc\ub294 \uc775\uc2a4\ud504\ub808\uc2a4 \uc11c\ubc84\ub97c \uc2dc\uc791\ud558\uace0 MongoDB\uc5d0 \uc5f0\uacb0\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>4. \ub370\uc774\ud130 \ubaa8\ub378 \uc791\uc131<\/h2>\n<p>\uc774\uc81c \uba54\ubaa8 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uae30 \uc704\ud55c Mongoose \ubaa8\ub378\uc744 \uc791\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>4.1 \uba54\ubaa8 \ubaa8\ub378 \uc0dd\uc131<\/h3>\n<pre><code>\n\/\/ server\/models\/Memo.js\nconst mongoose = require('mongoose');\n\nconst memoSchema = new mongoose.Schema({\n    content: {\n        type: String,\n        required: true,\n    },\n    createdAt: {\n        type: Date,\n        default: Date.now,\n    }\n});\n\nmodule.exports = mongoose.model('Memo', memoSchema);<\/code><\/pre>\n<p>\uc774 \ubaa8\ub378\uc740 \uba54\ubaa8\uc758 \ub0b4\uc6a9\uc744 \ub2f4\ub294 &#8216;content&#8217; \ud544\ub4dc\uc640 \uc0dd\uc131 \ub0a0\uc9dc\ub97c \uae30\ub85d\ud558\ub294 &#8216;createdAt&#8217; \ud544\ub4dc\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>5. API \ub77c\uc6b0\ud305 \uc124\uc815<\/h2>\n<p>\uc774\uc81c API\ub97c \ud1b5\ud574 \uba54\ubaa8\ub97c \uc0dd\uc131\ud558\uace0 \uc870\ud68c\ud560 \uc218 \uc788\ub294 \ub77c\uc6b0\ud2b8\ub97c \uc124\uc815\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5.1 \ub77c\uc6b0\ud130 \uc124\uc815<\/h3>\n<pre><code>const Memo = require('.\/models\/Memo');\n\n\/\/ \uba54\ubaa8 \uc0dd\uc131\napp.post('\/api\/memos', async (req, res) =&gt; {\n    try {\n        const memo = new Memo(req.body);\n        await memo.save();\n        res.status(201).send(memo);\n    } catch (error) {\n        res.status(400).send(error);\n    }\n});\n\n\/\/ \ubaa8\ub4e0 \uba54\ubaa8 \uc870\ud68c\napp.get('\/api\/memos', async (req, res) =&gt; {\n    try {\n        const memos = await Memo.find();\n        res.status(200).send(memos);\n    } catch (error) {\n        res.status(500).send(error);\n    }\n});<\/code><\/pre>\n<p>\uc5ec\uae30\uc11c \uc6b0\ub9ac\ub294 \uba54\ubaa8 \uc0dd\uc131\uacfc \uc870\ud68c\ub97c \uc704\ud55c POST \ubc0f GET \uc694\uccad\uc744 \ucc98\ub9ac\ud558\ub294 \ub77c\uc6b0\ud2b8\ub97c \uc124\uc815\ud558\uc600\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>6. \ub9ac\uc561\ud2b8 \ud074\ub77c\uc774\uc5b8\ud2b8 \uad6c\ud604<\/h2>\n<p>\uc774\uc81c \ud074\ub77c\uc774\uc5b8\ud2b8 \ucabd\uc5d0\uc11c \uba54\ubaa8\ub97c \uc785\ub825\ubc1b\uace0, \uc0dd\uc131\ub41c \uba54\ubaa8\ub97c \ubaa9\ub85d\uc73c\ub85c \ud45c\uc2dc\ud560 \ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uad6c\ud604\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>6.1 \uba54\ubaa8 \ucef4\ud3ec\ub10c\ud2b8 \uc0dd\uc131<\/h3>\n<pre><code>import React, { useState, useEffect } from 'react';\n            import axios from 'axios';\n\n            const MemoApp = () =&gt; {\n                const [memos, setMemos] = useState([]);\n                const [content, setContent] = useState('');\n\n                const fetchMemos = async () =&gt; {\n                    const response = await axios.get('http:\/\/localhost:5000\/api\/memos');\n                    setMemos(response.data);\n                };\n\n                const handleSubmit = async (e) =&gt; {\n                    e.preventDefault();\n                    const response = await axios.post('http:\/\/localhost:5000\/api\/memos', { content });\n                    setMemos([...memos, response.data]);\n                    setContent('');\n                };\n\n                useEffect(() =&gt; {\n                    fetchMemos();\n                }, []);\n\n                return (\n                    <div>\n                        <h1>\uba54\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158<\/h1>\n                        <form onsubmit=\"{handleSubmit}\">\n                            <input ==\"\" onchange=\"{(e)\" type=\"text\" value=\"{content}\"\/> setContent(e.target.value)}\n                                placeholder=\"\uba54\ubaa8\ub97c \uc785\ub825\ud558\uc138\uc694\"\n                                required\n                            \/&gt;\n                            <button type=\"submit\">\ucd94\uac00<\/button>\n                        <\/form>\n                        <ul>\n                            {memos.map((memo) =&gt; (\n                                <li key=\"{memo._id}\">{memo.content}<\/li>\n                            ))}\n                        <\/ul>\n                    <\/div>\n                );\n            };\n\n            export default MemoApp;<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \uba54\ubaa8\ub97c \uc785\ub825\ud558\uace0 \ucd94\uac00\ud560 \uc218 \uc788\ub294 \ud615\ud0dc\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \uc81c\ucd9c\ud55c \uba54\ubaa8\ub294 \uc11c\ubc84\uc5d0 \uc804\uc1a1\ub418\uc5b4 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc800\uc7a5\ub418\uace0, \uc800\uc7a5\ub41c \uba54\ubaa8\ub294 \ubaa9\ub85d\uc73c\ub85c \ud45c\uc2dc\ub429\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>7. \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc2e4\ud589<\/h2>\n<p>\uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \ubaa8\ub450 \uc2e4\ud589\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>7.1 \uc11c\ubc84 \uc2e4\ud589<\/h3>\n<pre><code>cd server\nnode index.js<\/code><\/pre>\n<p>\uc11c\ubc84\uac00 \uc2e4\ud589\ub418\uba74 <code>http:\/\/localhost:5000<\/code>\uc5d0\uc11c \uba54\ubaa8 API\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>7.2 \ud074\ub77c\uc774\uc5b8\ud2b8 \uc2e4\ud589<\/h3>\n<pre><code>cd ..\/memos-app\nnpm start<\/code><\/pre>\n<p>\ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \uc2e4\ud589\ub418\uba74 <code>http:\/\/localhost:3000<\/code>\uc5d0\uc11c \uba54\ubaa8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>8. \ub9c8\ubb34\ub9ac<\/h2>\n<p>\uc774\uc81c \ucd5c\uc18c\ud55c\uc758 \ub9ac\uc561\ud2b8 \ubc0f \uc775\uc2a4\ud504\ub808\uc2a4 \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ubaa8\ub450 \uad6c\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774 \ud504\ub85c\uc81d\ud2b8\ub97c \ud1b5\ud574 \ub9ac\uc561\ud2b8\uc640 \uc775\uc2a4\ud504\ub808\uc2a4 API \uac04\uc758 \uc0c1\ud638\uc791\uc6a9 \ubc29\ubc95, \ud504\ub860\ud2b8\uc5d4\ub4dc\uc640 \ubc31\uc5d4\ub4dc \ud1b5\ud569, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\uacb0 \ub4f1\uc744 \ubc30\uc6b8 \uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\ucd94\uac00\uc801\uc73c\ub85c, \uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub354 \ubc1c\uc804\uc2dc\ud0a4\uae30 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \uac1c\uc120 \uc0ac\ud56d\uc744 \uace0\ub824\ud574 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uba54\ubaa8 \uc218\uc815 \ubc0f \uc0ad\uc81c \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>\uc0ac\uc6a9\uc790 \uc778\uc99d \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>\uba54\ubaa8\uc5d0 \ub300\ud55c \ud0dc\uadf8 \uae30\ub2a5 \ucd94\uac00<\/li>\n<li>\ub9ac\uc561\ud2b8 \ub77c\uc6b0\ud130\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0 \ubd84\ud560<\/li>\n<\/ul>\n<p>\uc774\ub7ec\ud55c \uae30\ub2a5\ub4e4\uc740 \uc5ec\ub7ec\ubd84\uc758 \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub354\uc6b1 \ub9e4\ub825\uc801\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc904 \uac83\uc785\ub2c8\ub2e4. \uc774\uc81c \uc5ec\ub7ec\ubd84\uc758 \ucc28\ub840\uc785\ub2c8\ub2e4! \uc6d0\ud558\ub294 \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uace0 \uac1c\uc778 \ud504\ub85c\uc81d\ud2b8\ub85c \ubc1c\uc804\uc2dc\ucf1c \ubcf4\uc138\uc694.<\/p>\n<\/section>\n<footer>\n<p>\uac10\uc0ac\ud569\ub2c8\ub2e4. \ube14\ub85c\uadf8 \uae00\uc774 \uc720\uc775\ud558\uc168\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<\/footer>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc791\uc131\uc790: \ub2f9\uc2e0\uc758 \uc774\ub984 | \ub0a0\uc9dc: 2023\ub144 10\uc6d4 1. \uc11c\ub860 \ucd5c\uadfc \uc6f9 \uac1c\ubc1c \ubd84\uc57c\uc5d0\uc11c \ub9ac\uc561\ud2b8(React)\uc640 \uc775\uc2a4\ud504\ub808\uc2a4(Express)\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \ubc0f \ud504\ub808\uc784\uc6cc\ud06c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc778 \ubc18\uba74, \uc775\uc2a4\ud504\ub808\uc2a4\ub294 Node.js \ud658\uacbd\uc5d0\uc11c \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc720\uc6a9\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 \uc775\uc2a4\ud504\ub808\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39004\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95&#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":[191],"tags":[],"class_list":["post-39004","post","type-post","status-publish","format-standard","hentry","category-react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95 - \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\/39004\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc791\uc131\uc790: \ub2f9\uc2e0\uc758 \uc774\ub984 | \ub0a0\uc9dc: 2023\ub144 10\uc6d4 1. \uc11c\ub860 \ucd5c\uadfc \uc6f9 \uac1c\ubc1c \ubd84\uc57c\uc5d0\uc11c \ub9ac\uc561\ud2b8(React)\uc640 \uc775\uc2a4\ud504\ub808\uc2a4(Express)\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \ubc0f \ud504\ub808\uc784\uc6cc\ud06c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc778 \ubc18\uba74, \uc775\uc2a4\ud504\ub808\uc2a4\ub294 Node.js \ud658\uacbd\uc5d0\uc11c \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc720\uc6a9\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 \uc775\uc2a4\ud504\ub808\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 &hellip; \ub354 \ubcf4\uae30 &quot;\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39004\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T02:36:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:40+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\/39004\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39004\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\",\"datePublished\":\"2024-11-02T02:36:16+00:00\",\"dateModified\":\"2024-11-26T06:42:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39004\/\"},\"wordCount\":53,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"React\ud504\ub860\ud2b8\uc5d4\ub4dc\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39004\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39004\/\",\"name\":\"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T02:36:16+00:00\",\"dateModified\":\"2024-11-26T06:42:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39004\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39004\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39004\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\"}]},{\"@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":"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95 - \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\/39004\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc791\uc131\uc790: \ub2f9\uc2e0\uc758 \uc774\ub984 | \ub0a0\uc9dc: 2023\ub144 10\uc6d4 1. \uc11c\ub860 \ucd5c\uadfc \uc6f9 \uac1c\ubc1c \ubd84\uc57c\uc5d0\uc11c \ub9ac\uc561\ud2b8(React)\uc640 \uc775\uc2a4\ud504\ub808\uc2a4(Express)\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \ubc0f \ud504\ub808\uc784\uc6cc\ud06c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc778 \ubc18\uba74, \uc775\uc2a4\ud504\ub808\uc2a4\ub294 Node.js \ud658\uacbd\uc5d0\uc11c \uc11c\ubc84 \uc0ac\uc774\ub4dc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \ub370 \uc720\uc6a9\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc640 \uc775\uc2a4\ud504\ub808\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud558\ub294 \uacfc\uc815\uc744 \uc790\uc138\ud788 \uc124\uba85\ud569\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 &hellip; \ub354 \ubcf4\uae30 \"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\"","og_url":"https:\/\/atmokpo.com\/w\/39004\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T02:36:16+00:00","article_modified_time":"2024-11-26T06:42:40+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\/39004\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39004\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95","datePublished":"2024-11-02T02:36:16+00:00","dateModified":"2024-11-26T06:42:40+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39004\/"},"wordCount":53,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["React\ud504\ub860\ud2b8\uc5d4\ub4dc"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39004\/","url":"https:\/\/atmokpo.com\/w\/39004\/","name":"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T02:36:16+00:00","dateModified":"2024-11-26T06:42:40+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39004\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39004\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39004\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub9ac\uc561\ud2b8\ub85c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95\ud558\uae30, React\uc640 Express\ub85c \uac04\ub2e8\ud55c \ud480\uc2a4\ud0dd \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ucd95"}]},{"@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\/39004","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=39004"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39004\/revisions"}],"predecessor-version":[{"id":39005,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39004\/revisions\/39005"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}