diff options
| author | cashmere <cashmere@autistici.org> | 2026-06-19 22:01:36 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-06-19 22:01:36 +0200 |
| commit | 262ba1ab635059021586fd05e6c0b3f6af8a9061 (patch) | |
| tree | aeb33fa2caef4186e3ad10497087285fda66ae49 /src | |
| parent | bcb7872aef08396ef6df3051b0b6aa71c54cdef4 (diff) | |
| download | technical-renaissance-262ba1ab635059021586fd05e6c0b3f6af8a9061.tar.gz | |
app.py: create hello world
Diffstat (limited to 'src')
| -rw-r--r-- | src/technical_renaissance/app.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/technical_renaissance/app.py b/src/technical_renaissance/app.py index e69de29..3ce2efe 100644 --- a/src/technical_renaissance/app.py +++ b/src/technical_renaissance/app.py @@ -0,0 +1,12 @@ +from robyn import Request +from robyn import Robyn + +app = Robyn(__file__) + + +@app.get("/") +async def root(_request: Request): + return "Hello World" + + +app.start(host="127.0.0.1", port=8080) |
