import { serve } from "@hono/node-server"; import { app } from "./server/main"; serve( { fetch: app.fetch, port: 4000, hostname: "localhost", }, async () => { console.log("Server started on http://localhost:4000/api/"); }, ).listen();