Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.
The introduction used Bun. You can use Node.js instead.
When running bunx create-hono <app-name>, select the Node.js template:

Enter the project folder and run npm i to install dependencies.
With Node.js you must import serve from @hono/node-server and call it to start the server. With Bun you only export app and Bun runs it:
import { serve } from '@hono/node-server'
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hello Hono!'))
serve(app)
Run npm run start to start Hono.

Lessons in this unit:
| 0: | Introduction |
| 1: | Your first Hono app |
| 2: | The Request object |
| 3: | Send a response to the client |
| 4: | Manage cookies |
| 5: | Work with HTTP headers |
| 6: | Handling redirects |
| 7: | Routing |
| 8: | JSX templates |
| 9: | Middleware |
| 10: | ▶︎ Hono on Node.js |