Ver Fonte

Initial commit with FastAPI setup

jezvgg há 2 meses atrás
commit
c423617a67
1 ficheiros alterados com 7 adições e 0 exclusões
  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!"}