0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-25 13:19:30 +01:00
hono/examples/basic
2022-02-26 08:36:11 +09:00
..
.gitignore
index.js feat: app.notFound() and app.onError (#117) 2022-02-26 08:36:11 +09:00
package.json
README.md
wrangler.toml

Hono example for Cloudflare Workers

Before you can start publishing your service to cloudflare worker, you must sign up for a Cloudflare Workers account first, you can check out this document

You can update the information (name, zoon_id, etc) in wrangler file, then you can test and deploy your service by simply doing,

$ npm install
$ npm run dev 		# Start a local server for developing your worker
$ npm run publish # Publish your worker to the orange cloud