aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts
new file mode 100644
index 0000000..9c1f7a1
--- /dev/null
+++ b/src/index.ts
@@ -0,0 +1,7 @@
+import { Elysia } from "elysia";
+
+const app = new Elysia().get("/", () => "Hello Elysia").listen(3000);
+
+console.log(
+ `🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`
+);