Initial commit (via bun create)
This commit is contained in:
commit
413b1ac7c0
5 changed files with 182 additions and 0 deletions
7
src/index.ts
Normal file
7
src/index.ts
Normal file
|
|
@ -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}`
|
||||
);
|
||||
Loading…
Reference in a new issue