{"id":38588,"date":"2024-11-01T18:18:29","date_gmt":"2024-11-01T18:18:29","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38588"},"modified":"2024-11-26T06:43:55","modified_gmt":"2024-11-26T06:43:55","slug":"fastapi-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-%eb%8f%84%ec%bb%a4%ed%8c%8c%ec%9d%bc-%ec%9e%91%ec%84%b1","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38588\/","title":{"rendered":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131"},"content":{"rendered":"<p><body><\/p>\n<p>FastAPI\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \ud604\ub300\uc801\uc778 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube60\ub978 \uc131\ub2a5\uacfc \uc9c1\uad00\uc801\uc778 API \uc124\uacc4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \uc6f9 \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\uace0, \uc774\ub97c \ub3c4\ucee4\ub85c \uac10\uc2f8 \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc804\uccb4 \uacfc\uc815\uc740 \ud06c\uac8c \uc138 \ubd80\ubd84\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>FastAPI \uc11c\ubc84 \uac1c\ubc1c<\/li>\n<li>FastAPI \uc11c\ubc84\uc758 \uae30\ub2a5 \uad6c\ud604<\/li>\n<li>\ub3c4\ucee4\ud30c\uc77c \uc791\uc131 \ubc0f \ucee8\ud14c\uc774\ub108\ud654<\/li>\n<\/ul>\n<h2>1. FastAPI \uc11c\ubc84 \uac1c\ubc1c<\/h2>\n<h3>1.1 FastAPI \uc124\uce58<\/h3>\n<p>FastAPI\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 FastAPI\uc640 UVicorn(ASGI \uc11c\ubc84)\uc744 \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>pip install fastapi uvicorn<\/code><\/pre>\n<h3>1.2 \uae30\ubcf8 FastAPI \uc11c\ubc84 \uc124\uc815<\/h3>\n<p>\uc544\ub798\uc758 \uac04\ub2e8\ud55c \uc608\uc81c\ub294 \uae30\ubcf8\uc801\uc778 FastAPI \uc11c\ubc84\ub97c \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4:<\/p>\n<pre><code>from fastapi import FastAPI\n\napp = FastAPI()\n\n@app.get(\"\/\")\nasync def read_root():\n    return {\"Hello\": \"World\"}\n<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 FastAPI \uc11c\ubc84\ub85c, \ub8e8\ud2b8 URL(&#8220;\/&#8221;)\uc5d0 GET \uc694\uccad\uc744 \ubcf4\ub0b4\uba74 JSON \ud615\uc2dd\uc73c\ub85c {&#8220;Hello&#8221;: &#8220;World&#8221;}\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<h3>1.3 \uc11c\ubc84 \uc2e4\ud589<\/h3>\n<p>\uc774\uc81c \uc11c\ubc84\ub97c \uc2e4\ud589\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798\uc640 \uac19\uc740 \uba85\ub839\uc5b4\ub85c \uc11c\ubc84\ub97c \uc2dc\uc791\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>uvicorn main:app --reload<\/code><\/pre>\n<p>\uc5ec\uae30\uc11c <code>main<\/code>\uc740 Python \ud30c\uc77c\uc758 \uc774\ub984(\ud655\uc7a5\uc790 \uc81c\uc678)\uc774\uba70, <code>app<\/code>\uc740 FastAPI \uc778\uc2a4\ud134\uc2a4\uc758 \uc774\ub984\uc785\ub2c8\ub2e4. <code>--reload<\/code> \ud50c\ub798\uadf8\ub294 \ucf54\ub4dc \ubcc0\uacbd \uc2dc \uc790\ub3d9\uc73c\ub85c \uc11c\ubc84\ub97c \ub2e4\uc2dc \uc2dc\uc791\ud569\ub2c8\ub2e4.<\/p>\n<h2>2. FastAPI \uc11c\ubc84\uc758 \uae30\ub2a5 \uad6c\ud604<\/h2>\n<h3>2.1 RESTful API \uc124\uacc4<\/h3>\n<p>FastAPI\ub294 RESTful API \uc124\uacc4\uc5d0 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \ub2e4\uc74c \ub2e8\uacc4\uc5d0\uc11c\ub294 \uc0ac\uc6a9\uc790 \uad00\ub9ac API\ub97c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.2 \ub370\uc774\ud130 \ubaa8\ub378 \uc815\uc758<\/h3>\n<p>FastAPI\uc5d0\uc11c\ub294 Pydantic\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \uc720\ud6a8\uc131 \uac80\uc0ac\ub97c \uc218\ud589\ud558\ub294 \ubaa8\ub378\uc744 \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \ubaa8\ub378\uc744 \uc815\uc758\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>from pydantic import BaseModel\nfrom typing import List, Optional\n\nclass User(BaseModel):\n    id: int\n    name: str\n    email: str\n<\/code><\/pre>\n<h3>2.3 CRUD API \uad6c\ud604<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c \uac04\ub2e8\ud55c CRUD(Create, Read, Update, Delete) API\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub97c \uc800\uc7a5\ud560 \ub9ac\uc2a4\ud2b8\ub97c \ub9cc\ub4e4\uace0, \uac01 API \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>from fastapi import FastAPI, HTTPException\n\napp = FastAPI()\nusers = []\n\n@app.post(\"\/users\/\", response_model=User)\nasync def create_user(user: User):\n    users.append(user)\n    return user\n\n@app.get(\"\/users\/\", response_model=List[User])\nasync def get_users():\n    return users\n\n@app.get(\"\/users\/{user_id}\", response_model=User)\nasync def get_user(user_id: int):\n    for user in users:\n        if user.id == user_id:\n            return user\n    raise HTTPException(status_code=404, detail=\"User not found\")\n\n@app.put(\"\/users\/{user_id}\", response_model=User)\nasync def update_user(user_id: int, user: User):\n    for index, u in enumerate(users):\n        if u.id == user_id:\n            users[index] = user\n            return user\n    raise HTTPException(status_code=404, detail=\"User not found\")\n\n@app.delete(\"\/users\/{user_id}\")\nasync def delete_user(user_id: int):\n    for index, u in enumerate(users):\n        if u.id == user_id:\n            del users[index]\n            return {\"message\": \"User deleted\"}\n    raise HTTPException(status_code=404, detail=\"User not found\")\n<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\ub97c \uc0dd\uc131, \uc870\ud68c, \uc218\uc815 \ubc0f \uc0ad\uc81c\ud558\ub294 API\ub97c \uad6c\ud604\ud569\ub2c8\ub2e4. \uac01 API\ub294 \uc801\uc808\ud55c HTTP \uc0c1\ud0dc \ucf54\ub4dc\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<h2>3. \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 \ubc0f \ucee8\ud14c\uc774\ub108\ud654<\/h2>\n<h3>3.1 \ub3c4\ucee4 \uc124\uce58<\/h3>\n<p>\ub3c4\ucee4\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 \ub3c4\ucee4\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. \uacf5\uc2dd \uc6f9\uc0ac\uc774\ud2b8\uc5d0\uc11c \uc124\uce58 \ubc29\ubc95\uc744 \ucc38\uace0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.2 \ub3c4\ucee4\ud30c\uc77c \uc791\uc131<\/h3>\n<p>\ub3c4\ucee4\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucee8\ud14c\uc774\ub108\ud654\ud558\uc5ec \uc27d\uac8c \ubc30\ud3ec\ud560 \uc218 \uc788\uac8c \ub3c4\uc640\uc90d\ub2c8\ub2e4. FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc704\ud55c \ub3c4\ucee4\ud30c\uc77c\uc744 \uc791\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud30c\uc77c \uc774\ub984\uc740 <code>Dockerfile<\/code>\ub85c \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>FROM tiangolo\/uvicorn-gunicorn-fastapi:python3.9\n\nCOPY .\/app \/app\n\n# \uc124\uc815\ub41c \uc791\uc5c5 \ub514\ub809\ud1a0\ub9ac\nWORKDIR \/app\n\n# \ud544\uc694\ud55c \uc758\uc874\uc131 \uc124\uce58\nCOPY requirements.txt .\/\nRUN pip install --no-cache-dir -r requirements.txt\n\n# \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc2e4\ud589\nCMD [\"uvicorn\", \"main:app\", \"--host\", \"0.0.0.0\", \"--port\", \"80\"]\n<\/code><\/pre>\n<p>\ub3c4\ucee4\ud30c\uc77c\uc5d0\uc11c <code>FROM<\/code> \uc9c0\uc2dc\uc5b4\ub294 \uc0ac\uc6a9\ud560 \uae30\ubcf8 \uc774\ubbf8\uc9c0\ub97c \uacb0\uc815\ud569\ub2c8\ub2e4. <code>COPY<\/code> \uc9c0\uc2dc\uc5b4\ub294 \ucf54\ub4dc\ub97c \ucee8\ud14c\uc774\ub108\uc5d0 \ubcf5\uc0ac\ud558\uba70, <code>RUN<\/code> \uc9c0\uc2dc\uc5b4\ub294 \ud544\uc694\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud569\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c <code>CMD<\/code> \uc9c0\uc2dc\uc5b4\ub294 \ucee8\ud14c\uc774\ub108\uac00 \uc2dc\uc791\ub420 \ub54c \uc2e4\ud589\ub418\ub294 \uba85\ub839\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/p>\n<h3>3.3 \uc694\uad6c \uc0ac\ud56d \ud30c\uc77c \uc791\uc131<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c FastAPI\uc640 UVicorn\uc744 \ud3ec\ud568\ud558\ub294 <code>requirements.txt<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>fastapi\nuvicorn\n<\/code><\/pre>\n<h3>3.4 \ub3c4\ucee4 \uc774\ubbf8\uc9c0 \ube4c\ub4dc<\/h3>\n<p>\uc774\uc81c \ub3c4\ucee4 \uc774\ubbf8\uc9c0\ub97c \ube4c\ub4dc\ud560 \ucc28\ub840\uc785\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ubbf8\uc9c0\ub97c \ube4c\ub4dc\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>docker build -t myfastapiapp .<\/code><\/pre>\n<h3>3.5 \ucee8\ud14c\uc774\ub108 \uc2e4\ud589<\/h3>\n<p>\ucee8\ud14c\uc774\ub108\ub97c \uc2e4\ud589\ud558\ub824\uba74 \uba3c\uc800 \ub3c4\ucee4\uac00 \uc2e4\ud589 \uc911\uc778\uc9c0 \ud655\uc778\ud55c \ud6c4 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>docker run -d --name fastapi-container -p 80:80 myfastapiapp<\/code><\/pre>\n<p>\uc774\ub807\uac8c \ud558\uba74 FastAPI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub3c4\ucee4 \ucee8\ud14c\uc774\ub108\uc5d0\uc11c \uc2e4\ud589\ub429\ub2c8\ub2e4. \uc6f9 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c <code>http:\/\/localhost<\/code>\ub97c \uc5f4\uba74 API\uc5d0 \uc811\uc18d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc774\uc6a9\ud55c \uc11c\ubc84 \uac1c\ubc1c \ubc29\ubc95\uacfc \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 \ubc0f \ucee8\ud14c\uc774\ub108\ud654\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. FastAPI\ub294 \uc9c1\uad00\uc801\uc778 \ubb38\ubc95\uacfc \uc131\ub2a5 \ub355\ubd84\uc5d0 \ub9ce\uc740 \uac1c\ubc1c\uc790\uc5d0\uac8c \uc0ac\ub791\ubc1b\uace0 \uc788\uc73c\uba70, \ub3c4\ucee4\ub97c \uc0ac\uc6a9\ud558\uba74 \uc27d\uac8c \ubc30\ud3ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc2e4\uc81c \uc6b4\uc601 \ud658\uacbd\uc5d0\uc11c\ub3c4 \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ubc31\uc5d4\ub4dc \uc11c\ubc84\ub97c \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FastAPI\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \ud604\ub300\uc801\uc778 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube60\ub978 \uc131\ub2a5\uacfc \uc9c1\uad00\uc801\uc778 API \uc124\uacc4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \uc6f9 \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\uace0, \uc774\ub97c \ub3c4\ucee4\ub85c \uac10\uc2f8 \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc804\uccb4 \uacfc\uc815\uc740 \ud06c\uac8c \uc138 \ubd80\ubd84\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4: FastAPI \uc11c\ubc84 \uac1c\ubc1c FastAPI \uc11c\ubc84\uc758 \uae30\ub2a5 \uad6c\ud604 \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 \ubc0f \ucee8\ud14c\uc774\ub108\ud654 1. FastAPI \uc11c\ubc84 \uac1c\ubc1c 1.1 FastAPI \uc124\uce58 FastAPI\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38588\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131&#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-38588","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, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 - \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\/38588\/\" \/>\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, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"FastAPI\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \ud604\ub300\uc801\uc778 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube60\ub978 \uc131\ub2a5\uacfc \uc9c1\uad00\uc801\uc778 API \uc124\uacc4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \uc6f9 \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\uace0, \uc774\ub97c \ub3c4\ucee4\ub85c \uac10\uc2f8 \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc804\uccb4 \uacfc\uc815\uc740 \ud06c\uac8c \uc138 \ubd80\ubd84\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4: FastAPI \uc11c\ubc84 \uac1c\ubc1c FastAPI \uc11c\ubc84\uc758 \uae30\ub2a5 \uad6c\ud604 \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 \ubc0f \ucee8\ud14c\uc774\ub108\ud654 1. FastAPI \uc11c\ubc84 \uac1c\ubc1c 1.1 FastAPI \uc124\uce58 FastAPI\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38588\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T18:18:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:43:55+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\/38588\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38588\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131\",\"datePublished\":\"2024-11-01T18:18:29+00:00\",\"dateModified\":\"2024-11-26T06:43:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38588\/\"},\"wordCount\":50,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"FastAPI\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38588\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38588\/\",\"name\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T18:18:29+00:00\",\"dateModified\":\"2024-11-26T06:43:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38588\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38588\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38588\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131\"}]},{\"@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, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 - \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\/38588\/","og_locale":"ko_KR","og_type":"article","og_title":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"FastAPI\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \ud604\ub300\uc801\uc778 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \ube60\ub978 \uc131\ub2a5\uacfc \uc9c1\uad00\uc801\uc778 API \uc124\uacc4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 FastAPI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \uc6f9 \uc11c\ubc84\ub97c \uac1c\ubc1c\ud558\uace0, \uc774\ub97c \ub3c4\ucee4\ub85c \uac10\uc2f8 \ubc30\ud3ec\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc804\uccb4 \uacfc\uc815\uc740 \ud06c\uac8c \uc138 \ubd80\ubd84\uc73c\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4: FastAPI \uc11c\ubc84 \uac1c\ubc1c FastAPI \uc11c\ubc84\uc758 \uae30\ub2a5 \uad6c\ud604 \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 \ubc0f \ucee8\ud14c\uc774\ub108\ud654 1. FastAPI \uc11c\ubc84 \uac1c\ubc1c 1.1 FastAPI \uc124\uce58 FastAPI\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 &hellip; \ub354 \ubcf4\uae30 \"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131\"","og_url":"https:\/\/atmokpo.com\/w\/38588\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T18:18:29+00:00","article_modified_time":"2024-11-26T06:43:55+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\/38588\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38588\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131","datePublished":"2024-11-01T18:18:29+00:00","dateModified":"2024-11-26T06:43:55+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38588\/"},"wordCount":50,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["FastAPI\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38588\/","url":"https:\/\/atmokpo.com\/w\/38588\/","name":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T18:18:29+00:00","dateModified":"2024-11-26T06:43:55+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38588\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38588\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38588\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"FastAPI \uc11c\ubc84\uac1c\ubc1c, \ub3c4\ucee4\ud30c\uc77c \uc791\uc131"}]},{"@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\/38588","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=38588"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38588\/revisions"}],"predecessor-version":[{"id":38589,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38588\/revisions\/38589"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}