diff --git a/app.py b/app.py index 6f19e2c..6ca2bba 100644 --- a/app.py +++ b/app.py @@ -1,5 +1,7 @@ -import json +from fastapi import FastAPI -with open("products.json","r") as f: - products = json.load(f) -print("products") \ No newline at end of file +app = FastAPI() + +@app.get("/") +def home(): + return {"message": "Welcome to DemoTel Product Catalog"} \ No newline at end of file