Gregniuki commited on
Commit
d78c848
1 Parent(s): b8f5cf3

Create app/app.py

Browse files
Files changed (1) hide show
  1. app/app.py +9 -0
app/app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ # Create an instance of the FastAPI class
4
+ app = FastAPI()
5
+
6
+ # Define a route for the root endpoint
7
+ @app.get("/")
8
+ def read_root():
9
+ return {"message": "Hello, World!"}