{"id":38526,"date":"2024-11-01T18:17:54","date_gmt":"2024-11-01T18:17:54","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38526"},"modified":"2024-11-26T06:44:05","modified_gmt":"2024-11-26T06:44:05","slug":"fastapi-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-%ec%9d%b4%eb%b2%a4%ed%8a%b8-%eb%9d%bc%ec%9a%b0%ed%8a%b8-%eb%b3%80%ea%b2%bd","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38526\/","title":{"rendered":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd"},"content":{"rendered":"<p><body><\/p>\n<p>FastAPI\ub294 \ud604\ub300\uc801\uc778 \uc6f9 API\ub97c \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ud30c\uc774\uc36c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ube44\ub3d9\uae30 \uc9c0\uc6d0 \ubc0f \uc790\ub3d9 \ubb38\uc11c \uc0dd\uc131\uc744 \ud1b5\ud55c \uace0\uc131\ub2a5 API \uac1c\ubc1c\uc774 \uac00\ub2a5\ud558\uc5ec \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc0ac\ub791\ubc1b\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 FastAPI \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\ub294 \uacfc\uc815\uc5d0\uc11c &#8216;\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd&#8217;\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc54c\uc544\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\ubaa9\ucc28<\/h2>\n<ol>\n<li><a href=\"#fastapi-\uc18c\uac1c\">FastAPI \uc18c\uac1c<\/a><\/li>\n<li><a href=\"#\uc774\ubca4\ud2b8-\ub77c\uc6b0\ud2b8-\ubcc0\uacbd\uc774\ub780\">\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc774\ub780?<\/a><\/li>\n<li><a href=\"#fastapi-\uc5d0\uc11c-\uc774\ubca4\ud2b8-\ub77c\uc6b0\ud2b8-\ubcc0\uacbd-\uc0ac\uc6a9-\ud558\uae30\">FastAPI\uc5d0\uc11c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uc0ac\uc6a9\ud558\uae30<\/a><\/li>\n<li><a href=\"#\uc608\uc81c-\ucf54\ub4dc\">\uc608\uc81c \ucf54\ub4dc<\/a><\/li>\n<li><a href=\"#\uacb0\ub860\">\uacb0\ub860<\/a><\/li>\n<\/ol>\n<h2 id=\"fastapi-\uc18c\uac1c\">FastAPI \uc18c\uac1c<\/h2>\n<p>FastAPI\ub294 Python 3.6 \uc774\uc0c1\uc744 \uc9c0\uc6d0\ud558\uba70, \ub6f0\uc5b4\ub09c \uc131\ub2a5\uc744 \uc790\ub791\ud558\ub294 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \ud2b9\uc9d5\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ube44\ub3d9\uae30 \ud504\ub85c\uadf8\ub798\ubc0d \uc9c0\uc6d0: <code>async\/await<\/code> \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud558\uc5ec \ube44\ub3d9\uae30 \uc791\uc5c5\uc744 \uac04\ud3b8\ud558\uac8c \uc218\ud589 \uac00\ub2a5<\/li>\n<li>\uc790\ub3d9\ud654\ub41c \ubb38\uc11c\ud654: OpenAPI \ubc0f JSON Schema\ub97c \uae30\ubc18\uc73c\ub85c \uc790\ub3d9\uc73c\ub85c API \ubb38\uc11c\ub97c \uc0dd\uc131<\/li>\n<li>\ub192\uc740 \uc131\ub2a5: Starlette\uc640 Pydantic\uc744 \uae30\ubc18\uc73c\ub85c \ud558\uc5ec \ube60\ub978 API \uc694\uccad \ucc98\ub9ac<\/li>\n<li>\uc26c\uc6b4 \uac1c\ubc1c \uacbd\ud5d8: \ud0c0\uc785 \ud78c\ud2b8 \ubc0f \uc720\ud6a8\uc131 \uac80\uc0ac\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\uac00 \uc27d\uac8c \uc774\ud574\ud558\uace0 \uc218\uc815 \uac00\ub2a5<\/li>\n<\/ul>\n<h2 id=\"\uc774\ubca4\ud2b8-\ub77c\uc6b0\ud2b8-\ubcc0\uacbd\uc774\ub780\">\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc774\ub780?<\/h2>\n<p>\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 \uc694\uccad\uc5d0 \ub530\ub77c API\uc758 \ub3d9\uc791 \ubc29\uc2dd\uc744 \ub3d9\uc801\uc73c\ub85c \ubcc0\uacbd\ud558\ub294 \uac83\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ub2a5\uc744 \ud1b5\ud574 API\ub294 \ub2e4\uc591\ud55c \uc0c1\ud669\uc5d0 \uc801\uc808\ud788 \ub300\uc751\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c \ud2b9\uc815 \ubc84\ud2bc \ud074\ub9ad \uc2dc \uc11c\ubc84\uc5d0\uc11c \ucc98\ub9ac\ud574\uc57c \ud558\ub294 \uc791\uc5c5\uc744 \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2 id=\"fastapi-\uc5d0\uc11c-\uc774\ubca4\ud2b8-\ub77c\uc6b0\ud2b8-\ubcc0\uacbd-\uc0ac\uc6a9-\ud558\uae30\">FastAPI\uc5d0\uc11c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>FastAPI\uc5d0\uc11c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub77c\uc6b0\ud130\uc640 \uc885\uc18d\uc131 \uc8fc\uc785 \uae30\ub2a5\uc744 \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. FastAPI\ub294 \uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud588\uc744 \ub54c \ud2b9\uc815 \uacbd\ub85c\ub85c \uc694\uccad\uc744 \ub77c\uc6b0\ud305\ud558\ub294 \ub370 \ud544\uc694\ud55c \uc720\uc5f0\ud55c \uad6c\uc870\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h3>\ud544\uc218 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc124\uce58<\/h3>\n<pre><code>pip install fastapi uvicorn<\/code><\/pre>\n<p>FastAPI\uc640 Uvicorn \uc124\uce58 \ud6c4, \uc11c\ubc84\ub97c \uc2dc\uc791\ud558\uae30 \uc704\ud55c \uae30\ubcf8 \ucf54\ub4dc\ub97c \uc791\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uae30\ubcf8 FastAPI \uc11c\ubc84 \uc124\uc815<\/h3>\n<pre><code>\nfrom fastapi import FastAPI\nfrom fastapi.encoders import jsonable_encoder\nfrom fastapi.responses import JSONResponse\nfrom pydantic import BaseModel\n\napp = FastAPI()\n\nclass User(BaseModel):\n    id: int\n    name: str\n    age: int\n\nusers_db = {}\n\n@app.post(\"\/users\/\")\nasync def create_user(user: User):\n    users_db[user.id] = user\n    return JSONResponse(status_code=201, content=jsonable_encoder(user))\n\n@app.get(\"\/users\/{user_id}\")\nasync def read_user(user_id: int):\n    return users_db.get(user_id, {\"error\": \"User not found\"})\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 FastAPI\uc758 \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\uc790 \uc0dd\uc131 \ubc0f \uc870\ud68c API\ub97c \uc124\uc815\ud55c \uac83\uc785\ub2c8\ub2e4. \uc774\uc81c, \uc0ac\uc6a9\uc790 \uc774\ubca4\ud2b8\uc5d0 \ub530\ub77c \ud2b9\uc815 \ub77c\uc6b0\ud2b8\ub97c \ubcc0\uacbd\ud558\ub294 \uae30\ub2a5\uc744 \ucd94\uac00\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uc608\uc81c<\/h3>\n<p>\uc544\ub798 \uc608\uc81c\uc5d0\uc11c\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\uac00 \uc804\uc1a1\ud55c \ub370\uc774\ud130\uc5d0 \ub530\ub77c \ub2e4\ub978 \ub77c\uc6b0\ud2b8\ub85c \uc694\uccad\uc744 \ucc98\ub9ac\ud558\uac8c \ub429\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uc758 \ub098\uc774\uc5d0 \ub530\ub77c \ub2e4\ub978 \uad6c\ub9e4 \ucd94\ucc9c API\ub85c \ub77c\uc6b0\ud305\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>\nfrom fastapi import FastAPI, HTTPException\nfrom pydantic import BaseModel\n\napp = FastAPI()\n\nclass PurchaseRequest(BaseModel):\n    user_id: int\n    age: int\n\n@app.post(\"\/purchase\/\")\nasync def purchase(request: PurchaseRequest):\n    # \uc0ac\uc6a9\uc790\uc758 \ub098\uc774\uc5d0 \ub530\ub77c \ub2e4\ub978 \ucd94\ucc9c \uacbd\ub85c\ub85c \ub77c\uc6b0\ud305\n    if request.age &lt; 18:\n        return {\"message\": \"\ucd94\ucc9c \uc0c1\ud488: \uc5b4\ub9b0\uc774 \uc7a5\ub09c\uac10\"}\n    elif 18 &lt;= request.age &lt; 65:\n        return {\"message\": \"\ucd94\ucc9c \uc0c1\ud488: \uc131\uc778 \ud328\uc158\"}\n    else:\n        return {\"message\": \"\ucd94\ucc9c \uc0c1\ud488: \ub178\uc778 \uac74\uac15 \ubcf4\uc870\uc81c\"}\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 <code>\/purchase\/<\/code> \uacbd\ub85c\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \ub098\uc774\uc5d0 \ub530\ub77c \uc801\uc808\ud55c \uc0c1\ud488 \ucd94\ucc9c \uba54\uc2dc\uc9c0\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<h2 id=\"\uc608\uc81c-\ucf54\ub4dc\">\uc608\uc81c \ucf54\ub4dc<\/h2>\n<p>\uc804\uccb4 \ucf54\ub4dc\ub97c \uc885\ud569\ud558\uc5ec \uc544\ub798\uc640 \uac19\uc774 FastAPI \uc11c\ubc84\ub97c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\nfrom fastapi import FastAPI, HTTPException\nfrom fastapi.encoders import jsonable_encoder\nfrom fastapi.responses import JSONResponse\nfrom pydantic import BaseModel\n\napp = FastAPI()\n\nclass User(BaseModel):\n    id: int\n    name: str\n    age: int\n\nusers_db = {}\n\n@app.post(\"\/users\/\")\nasync def create_user(user: User):\n    users_db[user.id] = user\n    return JSONResponse(status_code=201, content=jsonable_encoder(user))\n\n@app.get(\"\/users\/{user_id}\")\nasync def read_user(user_id: int):\n    return users_db.get(user_id, {\"error\": \"User not found\"})\n\nclass PurchaseRequest(BaseModel):\n    user_id: int\n    age: int\n\n@app.post(\"\/purchase\/\")\nasync def purchase(request: PurchaseRequest):\n    # \uc0ac\uc6a9\uc790\uc758 \ub098\uc774\uc5d0 \ub530\ub77c \ub2e4\ub978 \ucd94\ucc9c \uacbd\ub85c\ub85c \ub77c\uc6b0\ud305\n    if request.age &lt; 18:\n        return {\"message\": \"\ucd94\ucc9c \uc0c1\ud488: \uc5b4\ub9b0\uc774 \uc7a5\ub09c\uac10\"}\n    elif 18 &lt;= request.age &lt; 65:\n        return {\"message\": \"\ucd94\ucc9c \uc0c1\ud488: \uc131\uc778 \ud328\uc158\"}\n    else:\n        return {\"message\": \"\ucd94\ucc9c \uc0c1\ud488: \ub178\uc778 \uac74\uac15 \ubcf4\uc870\uc81c\"}\n<\/code><\/pre>\n<p>\uc774\uc81c \uc774 API\ub97c \uc2e4\ud589\ud558\uae30 \uc704\ud574 \uc544\ub798\uc758 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>uvicorn main:app --reload<\/code><\/pre>\n<p>\uc774\uc81c \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c <code>http:\/\/127.0.0.1:8000\/docs<\/code>\uc5d0 \uc811\uc18d\ud558\uc2dc\uba74 \uc790\ub3d9 \uc0dd\uc131\ub41c API \ubb38\uc11c\ub97c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc0dd\uc131 \ubc0f \uc0c1\ud488 \ucd94\ucc9c API\ub97c \ud14c\uc2a4\ud2b8\ud574 \ubcf4\uc138\uc694!<\/p>\n<h2 id=\"\uacb0\ub860\">\uacb0\ub860<\/h2>\n<p>FastAPI\ub97c \ud65c\uc6a9\ud55c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uae30\ub2a5\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \uc0ac\uc6a9\uc790 \uc785\ub825\uc744 \uae30\ubc18\uc73c\ub85c API\uc758 \ub3d9\uc791\uc744 \uc720\uc5f0\ud558\uac8c \ubcc0\uacbd\ud560 \uc218 \uc788\uc5b4 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. API\uc758 \uc694\uccad\uc744 \ucc98\ub9ac\ud558\ub294 \ubc29\uc2dd\uc5d0 \ub354 \ub9ce\uc740 \ub17c\ub9ac\ub97c \ucd94\uac00\ud558\uace0 \uc2f6\ub2e4\uba74 \uc774\ub97c \uad6c\ud604\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uc774 \uc788\uc2b5\ub2c8\ub2e4. FastAPI\uc758 \uac15\ub825\ud55c \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ubcf5\uc7a1\ud55c \uc774\ubca4\ud2b8 \uae30\ubc18 \ub85c\uc9c1\uc744 \uc190\uc27d\uac8c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc5ec\uae30\uae4c\uc9c0 FastAPI\uc640 \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc5d0 \ub300\ud55c \uc774\ubca4\ud2b8\ub97c \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \ub808\uc2dc\ud53c\ub97c \ud65c\uc6a9\ud574 \uc720\uc5f0\ud558\uace0 \uac15\ub825\ud55c API\ub97c \uac1c\ubc1c\ud574 \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FastAPI\ub294 \ud604\ub300\uc801\uc778 \uc6f9 API\ub97c \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ud30c\uc774\uc36c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ube44\ub3d9\uae30 \uc9c0\uc6d0 \ubc0f \uc790\ub3d9 \ubb38\uc11c \uc0dd\uc131\uc744 \ud1b5\ud55c \uace0\uc131\ub2a5 API \uac1c\ubc1c\uc774 \uac00\ub2a5\ud558\uc5ec \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc0ac\ub791\ubc1b\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 FastAPI \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\ub294 \uacfc\uc815\uc5d0\uc11c &#8216;\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd&#8217;\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc54c\uc544\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa9\ucc28 FastAPI \uc18c\uac1c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc774\ub780? FastAPI\uc5d0\uc11c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uc0ac\uc6a9\ud558\uae30 \uc608\uc81c \ucf54\ub4dc \uacb0\ub860 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38526\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd&#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":[183],"tags":[],"class_list":["post-38526","post","type-post","status-publish","format-standard","hentry","category-fastapi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd - \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\/38526\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"FastAPI\ub294 \ud604\ub300\uc801\uc778 \uc6f9 API\ub97c \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ud30c\uc774\uc36c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ube44\ub3d9\uae30 \uc9c0\uc6d0 \ubc0f \uc790\ub3d9 \ubb38\uc11c \uc0dd\uc131\uc744 \ud1b5\ud55c \uace0\uc131\ub2a5 API \uac1c\ubc1c\uc774 \uac00\ub2a5\ud558\uc5ec \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc0ac\ub791\ubc1b\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 FastAPI \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\ub294 \uacfc\uc815\uc5d0\uc11c &#8216;\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd&#8217;\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc54c\uc544\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa9\ucc28 FastAPI \uc18c\uac1c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc774\ub780? FastAPI\uc5d0\uc11c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uc0ac\uc6a9\ud558\uae30 \uc608\uc81c \ucf54\ub4dc \uacb0\ub860 &hellip; \ub354 \ubcf4\uae30 &quot;FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38526\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T18:17:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:05+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38526\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38526\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\",\"datePublished\":\"2024-11-01T18:17:54+00:00\",\"dateModified\":\"2024-11-26T06:44:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38526\/\"},\"wordCount\":38,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"FastAPI\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38526\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38526\/\",\"name\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T18:17:54+00:00\",\"dateModified\":\"2024-11-26T06:44:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38526\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38526\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38526\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\"}]},{\"@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":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd - \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\/38526\/","og_locale":"ko_KR","og_type":"article","og_title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"FastAPI\ub294 \ud604\ub300\uc801\uc778 \uc6f9 API\ub97c \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ud30c\uc774\uc36c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ube44\ub3d9\uae30 \uc9c0\uc6d0 \ubc0f \uc790\ub3d9 \ubb38\uc11c \uc0dd\uc131\uc744 \ud1b5\ud55c \uace0\uc131\ub2a5 API \uac1c\ubc1c\uc774 \uac00\ub2a5\ud558\uc5ec \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc0ac\ub791\ubc1b\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 FastAPI \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\ub294 \uacfc\uc815\uc5d0\uc11c &#8216;\uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd&#8217;\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc54c\uc544\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa9\ucc28 FastAPI \uc18c\uac1c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\uc774\ub780? FastAPI\uc5d0\uc11c \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd \uc0ac\uc6a9\ud558\uae30 \uc608\uc81c \ucf54\ub4dc \uacb0\ub860 &hellip; \ub354 \ubcf4\uae30 \"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd\"","og_url":"https:\/\/atmokpo.com\/w\/38526\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T18:17:54+00:00","article_modified_time":"2024-11-26T06:44:05+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38526\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38526\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd","datePublished":"2024-11-01T18:17:54+00:00","dateModified":"2024-11-26T06:44:05+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38526\/"},"wordCount":38,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["FastAPI\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38526\/","url":"https:\/\/atmokpo.com\/w\/38526\/","name":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T18:17:54+00:00","dateModified":"2024-11-26T06:44:05+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38526\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38526\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38526\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \uc774\ubca4\ud2b8 \ub77c\uc6b0\ud2b8 \ubcc0\uacbd"}]},{"@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\/38526","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=38526"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38526\/revisions"}],"predecessor-version":[{"id":38527,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38526\/revisions\/38527"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}