From 23336d381d1cc6272b86e036bc034a5470bfc14f Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Sat, 2 May 2026 06:51:11 +0200 Subject: [PATCH] Add Splitwise clone backend --- run.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 run.py diff --git a/run.py b/run.py new file mode 100644 index 0000000..32345ea --- /dev/null +++ b/run.py @@ -0,0 +1,15 @@ +from granian import Granian +from granian.constants import Interfaces, Loops + +from app.main import app + +server = Granian( + target=app, + address="0.0.0.0", + port=8000, + interface=Interfaces.ASGI, + loop=Loops.uvloop, +) + +if __name__ == "__main__": + server.serve()