Initial commit (via bun create)
This commit is contained in:
commit
59b59a66cf
5 changed files with 185 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…
Add table
Add a link
Reference in a new issue