From 9eff5f08f40810024e4679bb9d51fd16ce01dc5a Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Sat, 17 Sep 2022 07:51:29 -0600 Subject: [PATCH] Add basic outline files --- index.html | 11 +++++++++++ main.py | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 index.html create mode 100644 main.py diff --git a/index.html b/index.html new file mode 100644 index 0000000..e76b4e7 --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + Rock Paper Scissors + + +
+ Hello world +
+ + diff --git a/main.py b/main.py new file mode 100644 index 0000000..0e54903 --- /dev/null +++ b/main.py @@ -0,0 +1,10 @@ +from fastapi import FastAPI +from fastapi.responses import HTMLResponse + +app = FastAPI() + +html = open("index.html").read() + +@app.get("/") +async def root(): + return HTMLResponse(html)