From a4fb2e405dbee3404414013036fa50eb14edca82 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 7 Sep 2026 14:56:26 +0000 Subject: [PATCH] Update app.py --- app.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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