Initial commit

This commit is contained in:
Jose Selesan
2026-04-08 22:53:11 -03:00
commit 9ae270609d
179 changed files with 28096 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import app from '@/index'
import { logger } from '@/lib/logger'
const port = Number(Bun.env.PORT ?? 3000)
const hostname = Bun.env.HOST ?? '0.0.0.0'
const server = Bun.serve({
hostname,
port,
fetch: app.fetch,
})
logger.info(
{ url: `http://${server.hostname}:${server.port}` },
'backend_listening',
)