aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-07 15:20:28 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-07 15:20:28 -0600
commit7f086eb98ea7053d9939bdb8ae3f46cc5796e9c6 (patch)
treef127e238d12fe081e0a17f1804df521990d13300 /app.py
parent44545ae5ea46748e34fc14694f1e801d56581c87 (diff)
add boilerplate
Diffstat (limited to 'app.py')
-rw-r--r--app.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/app.py b/app.py
new file mode 100644
index 0000000..166dd15
--- /dev/null
+++ b/app.py
@@ -0,0 +1,14 @@
+from flask import Flask, render_template
+
+app = Flask(__name__)
+
+@app.route("/")
+def hello_world():
+ return render_template("index.html")
+
+if __name__ == "__main__":
+ app.run(
+ host="0.0.0.0",
+ port=5123,
+ debug=True,
+ ) \ No newline at end of file