{"id":26566,"date":"2024-10-27T10:53:15","date_gmt":"2024-10-27T10:53:15","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26566"},"modified":"2024-11-26T07:37:43","modified_gmt":"2024-11-26T07:37:43","slug":"%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%97%94%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%ec%84%9c%eb%b2%84%ec%99%80-%ed%81%b4%eb%9d%bc%ec%9d%b4%ec%96%b8%ed%8a%b8","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26566\/","title":{"rendered":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8"},"content":{"rendered":"<p><body><\/p>\n<header>\n<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub97c \uc0ac\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc774\ud574\ud558\uace0, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcfc \uac83\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 \ucd08\uae09\uc790\ubd80\ud130 \uc911\uae09\uc790\uae4c\uc9c0 \ubaa8\ub450\uc5d0\uac8c \uc720\uc6a9\ud558\ub3c4\ub85d \uad6c\uc131\ud558\uc600\uc2b5\ub2c8\ub2e4.<\/p>\n<\/header>\n<section>\n<h2>1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780?<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ubcf5\uc7a1\ud55c \uc124\uc815 \uc5c6\uc774 \ube60\ub974\uac8c \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ud2b9\uc9d5\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc124\uc815 \ucd5c\uc18c\ud654:<\/strong> \uc790\ub3d9 \uc124\uc815 \uae30\ub2a5\uc744 \ud1b5\ud574 \uc124\uc815\uc744 \ucd5c\uc18c\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ub3c5\ub9bd \uc2e4\ud589 \uac00\ub2a5:<\/strong> \ub0b4\uc7a5\ub41c \ud1b0\ucea3, \uc81c\ud2f0 \ub610\ub294 \uc5b8\ub354\ud1a0\uc6b0\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub3c5\ub9bd \uc2e4\ud589\ud615 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc73c\ub85c \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc2a4\ud0c0\ud130 \ud328\ud0a4\uc9c0:<\/strong> \uc790\uc8fc \uc0ac\uc6a9\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ubbf8\ub9ac \uc124\uc815\ub41c \uc2a4\ud0c0\ud130 \ud328\ud0a4\uc9c0\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0dd\uc0b0\uc131 \ud5a5\uc0c1:<\/strong> \uac1c\ubc1c\uc790\uac00 \ub354 \ube60\ub974\uace0 \uc27d\uac8c \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \uc5ec\ub7ec \uac00\uc9c0 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>2. \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uac1c\ub150<\/h2>\n<p>\uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \ub124\ud2b8\uc6cc\ud06c\uc5d0\uc11c \ub370\uc774\ud130 \ud1b5\uc2e0\uc758 \uae30\ubcf8 \ub2e8\uc704\uc785\ub2c8\ub2e4. \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \uc11c\ube44\uc2a4\ub97c \uc694\uccad\ud558\ub294 \uc5ed\ud560\uc744 \ud558\uba70, \uc11c\ubc84\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc694\uccad\uc5d0 \uc751\ub2f5\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 \ub354 \uc790\uc138\ud788 \uc124\uba85\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ud074\ub77c\uc774\uc5b8\ud2b8:<\/strong> \uc6f9 \ube0c\ub77c\uc6b0\uc800, \ubaa8\ubc14\uc77c \uc571 \ub4f1 \uc0ac\uc6a9\uc790\uac00 \uc9c1\uc811 \uc0c1\ud638\uc791\uc6a9\ud558\ub294 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \uc11c\ubc84\uc5d0 HTTP \uc694\uccad\uc744 \ubcf4\ub0b4\uace0, \uc11c\ubc84\ub85c\ubd80\ud130 HTTP \uc751\ub2f5\uc744 \ubc1b\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc11c\ubc84:<\/strong> \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc694\uccad\uc744 \ucc98\ub9ac\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc785\ub2c8\ub2e4. \uc11c\ubc84\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc5f0\ub3d9\ud558\uc5ec \ud074\ub77c\uc774\uc5b8\ud2b8 \uc694\uccad\uc5d0 \ub300\ud55c \uacb0\uacfc\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>3. \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc124\uce58\ud558\uae30<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 JDK, \uc2a4\ud504\ub9c1 \ubd80\ud2b8, \uadf8\ub9ac\uace0 \uac1c\ubc1c \ud658\uacbd\uc778 IDE\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \ub2e4\uc74c \uc808\ucc28\uc5d0 \ub530\ub77c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li><strong>Java Development Kit (JDK) \uc124\uce58:<\/strong> JDK 11 \uc774\uc0c1\uc744 \uc124\uce58\ud569\ub2c8\ub2e4. Oracle JDK \ub610\ub294 OpenJDK\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>IDE \uc124\uce58:<\/strong> IntelliJ IDEA, Eclipse \ub610\ub294 Spring Tool Suite(STS)\uc640 \uac19\uc740 IDE\ub97c \uc124\uce58\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 CLI \uc124\uce58 (\uc120\ud0dd\uc801):<\/strong> \ucee4\ub9e8\ub4dc\ub77c\uc778\uc5d0\uc11c \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud558\uae30 \uc704\ud574 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 CLI\ub97c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131\ud558\uae30<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\ubc95\uc73c\ub85c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uac00\uc7a5 \ud3b8\ub9ac\ud55c \ubc29\ubc95\uc740 Spring Initializr\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub85c \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud574 \ubd05\uc2dc\ub2e4:<\/p>\n<ol>\n<li><strong>Spring Initializr \uc811\uc18d:<\/strong> <a href=\"https:\/\/start.spring.io\/\"> start.spring.io <\/a>\uc5d0 \uc811\uc18d\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud504\ub85c\uc81d\ud2b8 \uc124\uc815:<\/strong> \ud504\ub85c\uc81d\ud2b8 \uba54\ud0c0\ub370\uc774\ud130\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. Maven Project, Java, \uadf8\ub9ac\uace0 \uc801\uc808\ud55c Spring Boot \ubc84\uc804\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc885\uc18d\uc131 \ucd94\uac00:<\/strong> \uc2a4\ud504\ub9c1 \uc6f9, JPA, H2 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub4f1 \ud544\uc694\ud55c \uc885\uc18d\uc131\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud504\ub85c\uc81d\ud2b8 \ub2e4\uc6b4\ub85c\ub4dc:<\/strong> Generate \ubc84\ud2bc\uc744 \ud074\ub9ad\ud558\uc5ec \ud504\ub85c\uc81d\ud2b8\ub97c \ub2e4\uc6b4\ub85c\ub4dc\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>5. \uac04\ub2e8\ud55c RESTful API \ub9cc\ub4e4\uae30<\/h2>\n<p>\uc774\uc81c \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c RESTful API\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 \uc790\uc6d0\uc73c\ub85c &#8216;\ub3c4\uc11c&#8217;\ub97c \uad00\ub9ac\ud558\ub294 API\ub97c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5.1 \ub3c4\uba54\uc778 \ubaa8\ub378 \uc0dd\uc131<\/h3>\n<p>\uba3c\uc800 &#8216;\ub3c4\uc11c&#8217; \ub3c4\uba54\uc778 \ubaa8\ub378\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. \ub3c4\uc11c\uc758 \uc18d\uc131\uc73c\ub85c\ub294 ID, \uc81c\ubaa9, \uc800\uc790, \ucd9c\ud310 \uc5f0\ub3c4\ub97c \ud3ec\ud568\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<div class=\"code\">\n<pre><code>package com.example.demo.model;\n\nimport javax.persistence.Entity;\nimport javax.persistence.GeneratedValue;\nimport javax.persistence.GenerationType;\nimport javax.persistence.Id;\n\n@Entity\npublic class Book {\n    @Id\n    @GeneratedValue(strategy = GenerationType.IDENTITY)\n    private Long id;\n    \n    private String title;\n    private String author;\n    private int year;\n\n    \/\/ getter\uc640 setter \uc0dd\ub7b5\n}\n            <\/code><\/pre>\n<\/div>\n<h3>5.2 \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac \uc778\ud130\ud398\uc774\uc2a4 \uc0dd\uc131<\/h3>\n<p>JPA\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc0c1\ud638\uc791\uc6a9\ud558\ub294 \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<div class=\"code\">\n<pre><code>package com.example.demo.repository;\n\nimport com.example.demo.model.Book;\nimport org.springframework.data.jpa.repository.JpaRepository;\n\npublic interface BookRepository extends JpaRepository&lt;Book, Long&gt; {\n}\n\n            <\/code><\/pre>\n<\/div>\n<h3>5.3 \uc11c\ube44\uc2a4 \ud074\ub798\uc2a4 \uc0dd\uc131<\/h3>\n<p>\ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1 \ucc98\ub9ac\ub97c \uc704\ud55c \uc11c\ube44\uc2a4 \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774 \ud074\ub798\uc2a4\ub294 \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac\ub97c \ud65c\uc6a9\ud558\uc5ec \ub3c4\uc11c \ub370\uc774\ud130\ub97c \ucd94\uac00\ud558\uace0 \uc870\ud68c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<div class=\"code\">\n<pre><code>package com.example.demo.service;\n\nimport com.example.demo.model.Book;\nimport com.example.demo.repository.BookRepository;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\n\nimport java.util.List;\n\n@Service\npublic class BookService {\n    @Autowired\n    private BookRepository bookRepository;\n\n    public List&lt;Book&gt; getAllBooks() {\n        return bookRepository.findAll();\n    }\n\n    public Book addBook(Book book) {\n        return bookRepository.save(book);\n    }\n}\n            <\/code><\/pre>\n<\/div>\n<h3>5.4 \ucee8\ud2b8\ub864\ub7ec \ud074\ub798\uc2a4 \uc0dd\uc131<\/h3>\n<p>\ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc694\uccad\uc744 \ucc98\ub9ac\ud558\uae30 \uc704\ud55c REST \ucee8\ud2b8\ub864\ub7ec\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774 \ucee8\ud2b8\ub864\ub7ec\ub97c \ud1b5\ud574 API\uc758 \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<div class=\"code\">\n<pre><code>package com.example.demo.controller;\n\nimport com.example.demo.model.Book;\nimport com.example.demo.service.BookService;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.web.bind.annotation.*;\n\nimport java.util.List;\n\n@RestController\n@RequestMapping(\"\/api\/books\")\npublic class BookController {\n    @Autowired\n    private BookService bookService;\n\n    @GetMapping\n    public List&lt;Book&gt; getAllBooks() {\n        return bookService.getAllBooks();\n    }\n\n    @PostMapping\n    public Book addBook(@RequestBody Book book) {\n        return bookService.addBook(book);\n    }\n}\n            <\/code><\/pre>\n<\/div>\n<h3>5.5 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc2e4\ud589\ud558\uae30<\/h3>\n<p>\uc774\uc81c \ubaa8\ub4e0 \uc124\uc815\uc774 \uc644\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4. <strong>DemoApplication<\/strong> \ud074\ub798\uc2a4\uc5d0\uc11c <code>main<\/code> \uba54\uc18c\ub4dc\ub97c \uc2e4\ud589\ud558\uc5ec \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2dc\uc791\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>6. Postman\uc744 \uc0ac\uc6a9\ud574 API \ud14c\uc2a4\ud2b8\ud558\uae30<\/h2>\n<p>Postman\uc744 \uc774\uc6a9\ud558\uc5ec \uc6b0\ub9ac\uac00 \ub9cc\ub4e0 API\uac00 \uc81c\ub300\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud14c\uc2a4\ud2b8\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uc808\ucc28\ub97c \ub530\ub985\ub2c8\ub2e4:<\/p>\n<ol>\n<li><strong>Postman \uc2e4\ud589:<\/strong> Postman \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc5f4\uace0 \uc0c8\ub85c\uc6b4 \uc694\uccad\uc744 \ub9cc\ub4ed\ub2c8\ub2e4.<\/li>\n<li><strong>GET \uc694\uccad\ud558\uae30:<\/strong> URL\uc5d0 <code>http:\/\/localhost:8080\/api\/books<\/code>\ub97c \uc785\ub825\ud558\uace0 GET \uc694\uccad\uc744 \ubcf4\ub0c5\ub2c8\ub2e4. \uc751\ub2f5\uc73c\ub85c \ud604\uc7ac \ub3c4\uc11c \ubaa9\ub85d\uc774 \ub098\uc640\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li><strong>POST \uc694\uccad\ud558\uae30:<\/strong> \uc0c8\ub85c\uc6b4 \ub3c4\uc11c\ub97c \ucd94\uac00\ud558\uae30 \uc704\ud574 URL\uc5d0 <code>http:\/\/localhost:8080\/api\/books<\/code>\ub97c \uc785\ub825\ud558\uace0, POST \uc694\uccad\uc744 \uc124\uc815\ud569\ub2c8\ub2e4. Body\ub97c JSON \ud615\uc2dd\uc73c\ub85c \uc124\uc815\ud558\uc5ec \ub3c4\uc11c \uc815\ubcf4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>7. \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\ub3d9<\/h2>\n<p>\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c H2 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. H2 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub294 \uc778\uba54\ubaa8\ub9ac \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub85c, \ud14c\uc2a4\ud2b8 \ubc0f \uac1c\ubc1c\uc5d0 \uc801\ud569\ud569\ub2c8\ub2e4.<\/p>\n<h3>7.1 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815<\/h3>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 <code>application.properties<\/code> \ud30c\uc77c\uc5d0\uc11c H2 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<div class=\"code\">\n<pre><code>spring.datasource.url=jdbc:h2:mem:testdb\nspring.datasource.driverClassName=org.h2.Driver\nspring.datasource.username=sa\nspring.datasource.password=\nspring.h2.console.enabled=true\nspring.jpa.database-platform=org.hibernate.dialect.H2Dialect\n            <\/code><\/pre>\n<\/div>\n<h3>7.2 \ub370\uc774\ud130 \ucd08\uae30\ud654<\/h3>\n<p>\uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc2e4\ud589 \uc2dc \uae30\ubcf8 \ub370\uc774\ud130\ub97c \ucd94\uac00\ud558\ub824\uba74 <code>data.sql<\/code> \ud30c\uc77c\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd08\uae30 \ub370\uc774\ud130\ub97c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<div class=\"code\">\n<pre><code>INSERT INTO book (title, author, year) VALUES ('\uc774\uac83\uc774 \uc790\ubc14\ub2e4', '\uc2e0\uc6a9\uad8c', 2020);\nINSERT INTO book (title, author, year) VALUES ('Spring in Action', 'Craig Walls', 2018);\n            <\/code><\/pre>\n<\/div>\n<\/section>\n<section>\n<h2>8. \uc608\uc678 \ucc98\ub9ac<\/h2>\n<p>\uc0dd\uc131\ub41c API\uc5d0\uc11c \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \uc608\uc678\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc2a4\ud504\ub9c1\uc5d0\uc11c\ub294 <code>@ControllerAdvice<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc804\uc5ed\uc801\uc73c\ub85c \uc608\uc678 \ucc98\ub9ac\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<div class=\"code\">\n<pre><code>package com.example.demo.exception;\n\nimport org.springframework.http.HttpStatus;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.ControllerAdvice;\nimport org.springframework.web.bind.annotation.ExceptionHandler;\n\n@ControllerAdvice\npublic class GlobalExceptionHandler {\n    \n    @ExceptionHandler(Exception.class)\n    public ResponseEntity&lt;String&gt; handleException(Exception e) {\n        return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(e.getMessage());\n    }\n}\n            <\/code><\/pre>\n<\/div>\n<p>\uc774\ub807\uac8c \uc124\uc815\ud558\uba74 \ubaa8\ub4e0 \uc608\uc678\uac00 \ucc98\ub9ac\ub418\uc5b4 \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \uc801\uc808\ud55c \uc751\ub2f5\uc744 \ubc18\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>9. \ud074\ub77c\uc774\uc5b8\ud2b8\uc640\uc758 \ud1b5\uc2e0<\/h2>\n<p>\uc774\ubc88 \uc139\uc158\uc5d0\uc11c\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \uac04\uc758 \ud1b5\uc2e0 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 REST API\ub97c \ud1b5\ud574 \uc11c\ubc84\uc640 \uc0c1\ud638\uc791\uc6a9\ud569\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc778 \uc694\uccad \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>GET:<\/strong> \ub370\uc774\ud130 \uc870\ud68c<\/li>\n<li><strong>POST:<\/strong> \ub370\uc774\ud130 \uc0dd\uc131<\/li>\n<li><strong>PUT:<\/strong> \ub370\uc774\ud130 \uc218\uc815<\/li>\n<li><strong>DELETE:<\/strong> \ub370\uc774\ud130 \uc0ad\uc81c<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>10. \ud074\ub77c\uc774\uc5b8\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\ud604<\/h2>\n<p>\uc11c\ubc84 \ucabd\uc5d0\uc11c API\uac00 \uc131\uacf5\uc801\uc73c\ub85c \uad6c\ud604\ub418\uc5c8\uc73c\ub2c8, \uc774\uc81c \ud074\ub77c\uc774\uc5b8\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 \uac04\ub2e8\ud55c HTML\uacfc JavaScript \uae30\ubc18\uc758 \ud504\ub860\ud2b8\uc5d4\ub4dc\ub97c \ub9cc\ub4e4\uc5b4 REST API\uc640 \ud1b5\uc2e0\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. <\/p>\n<h3>10.1 HTML \uad6c\uc870 \ub9cc\ub4e4\uae30<\/h3>\n<div class=\"code\">\n<pre><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=\"ko\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"UTF-8\"&gt;\n    &lt;title&gt;\ub3c4\uc11c \ubaa9\ub85d&lt;\/title&gt;\n    &lt;script src=\"https:\/\/code.jquery.com\/jquery-3.6.0.min.js\"&gt;&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;h1&gt;\ub3c4\uc11c \ubaa9\ub85d&lt;\/h1&gt;\n    &lt;table id=\"bookTable\"&gt;\n        &lt;tr&gt;&lt;th&gt;\uc81c\ubaa9&lt;\/th&gt;&lt;th&gt;\uc800\uc790&lt;\/th&gt;&lt;th&gt;\uc5f0\ub3c4&lt;\/th&gt;&lt;\/tr&gt;\n    &lt;\/table&gt;\n    &lt;script&gt;\n        function fetchBooks() {\n            $.get(\"http:\/\/localhost:8080\/api\/books\", function(data) {\n                data.forEach(function(book) {\n                    $('#bookTable').append(`&lt;tr&gt;&lt;td&gt;${book.title}&lt;\/td&gt;&lt;td&gt;${book.author}&lt;\/td&gt;&lt;td&gt;${book.year}&lt;\/td&gt;&lt;\/tr&gt;`);\n                });\n            });\n        }\n        $(document).ready(function() {\n            fetchBooks();\n        });\n    &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n            <\/code><\/pre>\n<\/div>\n<\/section>\n<section>\n<h2>11. \ubcf4\uc548<\/h2>\n<p>\uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ubcf4\uc548\uc740 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0(Spring Security)\ub97c \ud1b5\ud574 \uc778\uc99d \ubc0f \uad8c\ud55c \ubd80\uc5ec\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac04\ub2e8\ud55c \ubcf4\uc548 \uc124\uc815 \uc608\uc2dc\uc785\ub2c8\ub2e4:<\/p>\n<div class=\"code\">\n<pre><code>package com.example.demo.config;\n\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.security.config.annotation.web.builders.HttpSecurity;\nimport org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;\nimport org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;\n\n@EnableWebSecurity\npublic class SecurityConfig extends WebSecurityConfigurerAdapter {\n    @Override\n    protected void configure(HttpSecurity http) throws Exception {\n        http.csrf().disable()\n            .authorizeRequests()\n            .anyRequest().authenticated()\n            .and()\n            .httpBasic();\n    }\n}\n            <\/code><\/pre>\n<\/div>\n<\/section>\n<footer>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774 \uac15\uc88c\ub97c \ud1b5\ud574 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c \ubc29\ubc95\uacfc \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc758 \ud1b5\uc2e0 \uc6d0\ub9ac\ub97c \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud558\uba74\uc11c \ub2e4\uc591\ud55c \uc0c1\ud669\uc744 \uacbd\ud5d8\ud574 \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. \uc55e\uc73c\ub85c\ub3c4 \ub354 \ub9ce\uc740 \uc9c0\uc2dd\uc744 \uc313\uace0, \uc9c0\uc18d\uc801\uc73c\ub85c \ud559\uc2b5\ud574 \ub098\uac00\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub97c \uc0ac\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc774\ud574\ud558\uace0, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcfc \uac83\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 \ucd08\uae09\uc790\ubd80\ud130 \uc911\uae09\uc790\uae4c\uc9c0 \ubaa8\ub450\uc5d0\uac8c \uc720\uc6a9\ud558\ub3c4\ub85d \uad6c\uc131\ud558\uc600\uc2b5\ub2c8\ub2e4. 1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ubcf5\uc7a1\ud55c \uc124\uc815 \uc5c6\uc774 \ube60\ub974\uac8c \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ud2b9\uc9d5\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26566\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8&#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":[21],"tags":[],"class_list":["post-26566","post","type-post","status-publish","format-standard","hentry","category-21"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 - \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\/26566\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub97c \uc0ac\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc774\ud574\ud558\uace0, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcfc \uac83\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 \ucd08\uae09\uc790\ubd80\ud130 \uc911\uae09\uc790\uae4c\uc9c0 \ubaa8\ub450\uc5d0\uac8c \uc720\uc6a9\ud558\ub3c4\ub85d \uad6c\uc131\ud558\uc600\uc2b5\ub2c8\ub2e4. 1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ubcf5\uc7a1\ud55c \uc124\uc815 \uc5c6\uc774 \ube60\ub974\uac8c \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ud2b9\uc9d5\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26566\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T10:53:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:37:43+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=\"3\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/26566\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26566\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\",\"datePublished\":\"2024-10-27T10:53:15+00:00\",\"dateModified\":\"2024-11-26T07:37:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26566\/\"},\"wordCount\":82,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26566\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26566\/\",\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T10:53:15+00:00\",\"dateModified\":\"2024-11-26T07:37:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26566\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26566\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26566\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\"}]},{\"@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":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 - \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\/26566\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub97c \uc0ac\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uc774\ud574\ud558\uace0, \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcfc \uac83\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub294 \ucd08\uae09\uc790\ubd80\ud130 \uc911\uae09\uc790\uae4c\uc9c0 \ubaa8\ub450\uc5d0\uac8c \uc720\uc6a9\ud558\ub3c4\ub85d \uad6c\uc131\ud558\uc600\uc2b5\ub2c8\ub2e4. 1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ubcf5\uc7a1\ud55c \uc124\uc815 \uc5c6\uc774 \ube60\ub974\uac8c \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ud2b9\uc9d5\uc744 &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8\"","og_url":"https:\/\/atmokpo.com\/w\/26566\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T10:53:15+00:00","article_modified_time":"2024-11-26T07:37:43+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":"3\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/26566\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26566\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8","datePublished":"2024-10-27T10:53:15+00:00","dateModified":"2024-11-26T07:37:43+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26566\/"},"wordCount":82,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26566\/","url":"https:\/\/atmokpo.com\/w\/26566\/","name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T10:53:15+00:00","dateModified":"2024-11-26T07:37:43+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26566\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26566\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26566\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc11c\ubc84\uc640 \ud074\ub77c\uc774\uc5b8\ud2b8"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":26432,"url":"https:\/\/atmokpo.com\/w\/26432\/","url_meta":{"origin":26566,"position":0},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, OAuth2\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \uc758\uc874\uc131 \ucd94\uac00\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc800\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: [\ud604\uc7ac \ub0a0\uc9dc] 1. \uc11c\ub860 \ud604\ub300 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790 \uc778\uc99d\uacfc \uad8c\ud55c \ubd80\uc5ec\ub97c \uc704\ud574 OAuth2 \ud504\ub85c\ud1a0\ucf5c\uc744 \ub9ce\uc774 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \uc774 \ud504\ub85c\ud1a0\ucf5c\uc740 \ub2e4\uc591\ud55c \ud074\ub77c\uc774\uc5b8\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc548\uc804\ud558\uace0 \uc720\uc5f0\ud55c \ubc29\uc2dd\uc73c\ub85c \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \ucc98\ub9ac\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \ud65c\uc6a9\ud558\uc5ec OAuth2\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \ub85c\uadf8\uc778\uacfc \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc548\ub0b4\ud569\ub2c8\ub2e4. 2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26620,"url":"https:\/\/atmokpo.com\/w\/26620\/","url_meta":{"origin":26566,"position":1},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3, \ud68c\uc6d0 \uac00\uc785 \uad6c\ud604, \uc758\uc874\uc131 \ucd94\uac00\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \uad00\ud55c \uae30\ubcf8\uc801\uc778 \ub0b4\uc6a9\uc744 \ub2e4\ub8e8\uace0, \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub97c \ud1b5\ud574 \ub85c\uadf8\uc778, \ub85c\uadf8\uc544\uc6c3, \ud68c\uc6d0 \uac00\uc785 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud569\ub2c8\ub2e4. 1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780? \uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc2a4\ud504\ub9c1 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2a4\ud504\ub9c1 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub354\uc6b1 \uc27d\uac8c \uc124\uc815\ud558\uace0 \uc2e4\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc124\uc815 \uacfc\uc815\uc744 \ucd5c\uc18c\ud654\ud558\uace0, \ub0b4\uc7a5\ud615 \uc11c\ubc84\ub97c\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":43509,"url":"https:\/\/atmokpo.com\/w\/43509\/","url_meta":{"origin":26566,"position":2},"title":"[Dart \uc5b8\uc5b4\uac15\uc88c]  021. Dart\ub85c API \ud1b5\uc2e0\ud558\uae30, REST API \uc5f0\ub3d9 \uc608\uc81c","author":"root","date":"2024\ub144 11\uc6d4 28\uc77c","format":false,"excerpt":"Dart\ub294 \ud604\ub300 \uc6f9\uacfc \ubaa8\ubc14\uc77c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \uc5b8\uc5b4\ub85c, Google\uc774 \uac1c\ubc1c\ud588\uc2b5\ub2c8\ub2e4. \uc774 \ube14\ub85c\uadf8 \uae00\uc5d0\uc11c\ub294 Dart\ub97c \uc0ac\uc6a9\ud558\uc5ec REST API\uc640 \ud1b5\uc2e0\ud558\ub294 \ubc29\ubc95\uc744 \uae4a\uc774 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. API(Application Programming Interface)\ub294 \ub2e4\uc591\ud55c \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uac00\ub2a5\ud558\uac8c \ud558\uba70, REST(Representational State Transfer)\ub294 API \uc124\uacc4\ub97c \uc704\ud55c \uc544\ud0a4\ud14d\ucc98 \uc2a4\ud0c0\uc77c\uc785\ub2c8\ub2e4. 1. REST API\ub780 \ubb34\uc5c7\uc778\uac00? REST\ub294 \uc6f9 \uc11c\ube44\uc2a4\ub97c \uc124\uacc4\ud560 \ub54c\u2026","rel":"","context":"&quot;\ud50c\ub7ec\ud130 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud50c\ub7ec\ud130 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%94%8c%eb%9f%ac%ed%84%b0-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26670,"url":"https:\/\/atmokpo.com\/w\/26670\/","url_meta":{"origin":26566,"position":3},"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, \uc81c\uc5b4\uc758 \uc5ed\uc804\uacfc \uc758\uc874\uc131 \uc8fc\uc785","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc2e0\uc18d\ud558\uac8c \ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \ud575\uc2ec \uac1c\ub150 \uc911 \ud558\ub098\uc778 \uc81c\uc5b4\uc758 \uc5ed\uc804(Inversion of Control, IoC)\uacfc \uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \ub450 \uac00\uc9c0 \uac1c\ub150\uc740 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uc5b4\ub5bb\uac8c \uc124\uacc4\ud558\uace0\u2026","rel":"","context":"&quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%95%a4%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41106,"url":"https:\/\/atmokpo.com\/w\/41106\/","url_meta":{"origin":26566,"position":4},"title":"11.Nest.js\ub85c RESTful API \uad6c\ucd95\ud558\uae30, Nest.js\uc5d0\uc11c \ucee8\ud2b8\ub864\ub7ec\uc640 \uc11c\ube44\uc2a4 \uad6c\ud604\ud558\uae30","author":"root","date":"2024\ub144 11\uc6d4 06\uc77c","format":false,"excerpt":"\ud604\ub300 \uc6f9 \uac1c\ubc1c\uc5d0\uc11c RESTful API\ub294 \ub370\uc774\ud130\uc640 \uc11c\ube44\uc2a4\ub97c \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \uac04\uc5d0 \ud6a8\uacfc\uc801\uc73c\ub85c \uacf5\uc720\ud558\ub294 \ub370 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Nest.js\ub294 Node.js \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ud655\uc7a5\uc131\uacfc \uc720\uc9c0\ubcf4\uc218\uc131\uc744 \uace0\ub824\ud558\uc5ec \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Nest.js\ub97c \uc0ac\uc6a9\ud558\uc5ec RESTful API\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub610\ud55c, API\uc758 \uae30\ubcf8\uc744 \uc774\ud574\ud558\uae30 \uc704\ud574 \ucee8\ud2b8\ub864\ub7ec\uc640 \uc11c\ube44\uc2a4\uc758 \uad6c\ud604 \ubc29\ubc95\uc5d0 \ub300\ud574\uc11c\ub3c4 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Nest.js \uc18c\uac1c Nest.js\ub294\u2026","rel":"","context":"&quot;nextjs&quot;\uc5d0\uc11c","block_context":{"text":"nextjs","link":"https:\/\/atmokpo.com\/w\/category\/nextjs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":38524,"url":"https:\/\/atmokpo.com\/w\/38524\/","url_meta":{"origin":26566,"position":5},"title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc131\ub2a5 \ucd5c\uc801\ud654\ub97c \uc704\ud55c \uce90\uc2f1 \ubc0f \ub85c\ub4dc \ubc38\ub7f0\uc2f1 \uc804\ub7b5","author":"root","date":"2024\ub144 11\uc6d4 01\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ubc1c\ud589\uc77c: [\uc624\ub298 \ub0a0\uc9dc] \uc18c\uac1c FastAPI\ub294 Python\uc73c\ub85c \uc791\uc131\ub41c \uace0\uc131\ub2a5 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube60\ub978 \uac1c\ubc1c \uc18d\ub3c4\uc640 \ub192\uc740 \uc131\ub2a5 \ub355\ubd84\uc5d0 \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc0ac\ub791\ubc1b\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc131\ub2a5\uc774 \uc88b\ub2e4\uace0 \ud574\uc11c \ubaa8\ub4e0 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \uc6d0\ud65c\ud558\uac8c \uc791\ub3d9\ud558\ub294 \uac83\uc740 \uc544\ub2d9\ub2c8\ub2e4. \ud2b9\ud788 \ud2b8\ub798\ud53d\uc774 \ub9ce\uc740 \uc11c\ube44\uc2a4\uc5d0\uc11c\ub294 \uc131\ub2a5 \ucd5c\uc801\ud654\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 FastAPI \uc11c\ubc84\uc758 \uc131\ub2a5\uc744 \ucd5c\uc801\ud654\ud558\uae30 \uc704\ud55c \uce90\uc2f1(caching)\uacfc \ub85c\ub4dc \ubc38\ub7f0\uc2f1(load\u2026","rel":"","context":"&quot;FastAPI\uc11c\ubc84\uac1c\ubc1c&quot;\uc5d0\uc11c","block_context":{"text":"FastAPI\uc11c\ubc84\uac1c\ubc1c","link":"https:\/\/atmokpo.com\/w\/category\/fastapi%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26566","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=26566"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26566\/revisions"}],"predecessor-version":[{"id":26567,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26566\/revisions\/26567"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}