From e05f78146ef386a81b39d3e05afa145c1e23f679 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Sat, 14 Oct 2023 22:20:56 -0400 Subject: Initial commit (via bun create) --- src/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/index.ts (limited to 'src/index.ts') 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}` +); -- cgit v1.2.3