소스 검색

Initial commit with FastAPI setup

jezvgg 2 달 전
커밋
c423617a67
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      main.py

+ 7 - 0
main.py

@@ -0,0 +1,7 @@
+from fastapi import FastAPI
+
+app = FastAPI()
+
+@app.get("/")
+def read_root():
+    return {"message": "Hello, World!"}