refactor: convert to monorepo

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2025-09-16 23:01:40 +00:00
parent 59e14a9c9a
commit 223a594479
46 changed files with 68 additions and 66 deletions

View File

@@ -0,0 +1,20 @@
import { serve } from "bun"
import index from "./index.html"
const server = serve({
port: process.env.PORT || 3001,
routes: {
// Serve index.html for all unmatched routes.
"/*": index,
},
development: process.env.NODE_ENV !== "production" && {
// Enable browser hot reloading in development
hmr: true,
// Echo console logs from the browser to the server
console: true,
},
})
console.log(`🚀 Server running at ${server.url}`)