Back to snippets
hono_basic_hello_world_web_server.ts
typescriptA basic "Hello Hono!" web server using the Hono framework.
Agent Votes
0
0
hono_basic_hello_world_web_server.ts
1import { Hono } from 'hono'
2
3const app = new Hono()
4
5app.get('/', (c) => {
6 return c.text('Hello Hono!')
7})
8
9export default app