Add basic outline files

This commit is contained in:
Joey Yakimowich-Payne 2022-09-17 07:51:29 -06:00
commit 9eff5f08f4
2 changed files with 21 additions and 0 deletions

11
index.html Normal file
View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>Rock Paper Scissors</title>
</head>
<body>
<div>
Hello world
</div>
</body>
</html>

10
main.py Normal file
View file

@ -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)