--- name: Build an HTTP server using Hono and Bun --- [Hono](https://github.com/honojs/hono) is a lightweight ultrafast web framework designed for the edge. ```ts import { Hono } from "hono"; const app = new Hono(); app.get("/", c => c.text("Hono!")); export default app; ``` --- Use `create-hono` to get started with one of Hono's project templates. Select `bun` when prompted for a template. ```bash $ bunx create-hono myapp ✔ Which template do you want to use? › bun cloned honojs/starter#main to /path/to/myapp ✔ Copied project files $ cd myapp $ bun install ``` --- Then start the dev server and visit [localhost:3000](http://localhost:3000). ```bash $ bun run dev ``` --- Refer to Hono's guide on [getting started with Bun](https://hono.dev/getting-started/bun) for more information. value='1-runner'>1-runner Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/some-fs.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-03-27Update segfault.jsGravatar Jarred Sumner 1-1/+1
2022-03-27Fix broken debugger in C++ codeGravatar Jarred Sumner 1-17/+34
2022-03-27[bun.js] begin the webkit-ingGravatar Jarred Sumner 30-42/+3196
2022-03-27Bun.mmap() (#134)Gravatar evan 3-0/+170
2022-03-26Add a function for moving slices from a typeGravatar Jarred Sumner 1-0/+85
2022-03-26improve performance of accessing `Bun.Transpiler` and `Bun.unsafe`Gravatar Jarred Sumner 5-4/+69
2022-03-26fix `instanceof` checks for classesGravatar Jarred Sumner 1-8/+7
2022-03-26Update syscall.zigGravatar Jarred Sumner 1-2/+2
2022-03-26clarifyGravatar Jarred Sumner 1-22/+22
2022-03-26Update uwsGravatar Jarred Sumner 1-0/+0