bootstrap js projects

This commit is contained in:
2025-07-08 03:17:12 +08:00
commit 11b57ce46a
12 changed files with 1965 additions and 0 deletions

15
hono/src/index.ts Normal file
View File

@ -0,0 +1,15 @@
import { serve } from '@hono/node-server'
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => {
return c.text('Hello Hono!')
})
serve({
fetch: app.fetch,
port: 3000
}, (info) => {
console.log(`Server is running on http://localhost:${info.port}`)
})