Hearthforge
Sign in
Register
zbin
Code
Branches
Tags
Commits
Issues
Patches
Releases
Pipelines
zbin
/
src
/
index.ts
index.ts
⎇
23bc73a5 (detached)
master
Go
Raw
1
import
{
Elysia
}
from
"elysia"
;
2
3
const
app
=
new
Elysia
().
get
(
"/"
,
()
=>
"Hello Elysia"
).
listen
(
3000
);
4
5
console
.
log
(
6
`🦊 Elysia is running at
${
app
.
server
?
.
hostname
}
:
${
app
.
server
?
.
port
}
`
7
);
8