habulaj commited on
Commit
6647a73
·
verified ·
1 Parent(s): 4a8147e

Create routes/hello.py

Browse files
Files changed (1) hide show
  1. routes/hello.py +7 -0
routes/hello.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import APIRouter
2
+
3
+ router = APIRouter()
4
+
5
+ @router.get("/hello")
6
+ def hello_world():
7
+ return {"message": "Hello, World!"}