0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-28 17:22:54 +01:00
hono/examples/basic
Yusuke Wada 2b570641a2
chore: update examples (#137)
* chore(example): update blog test

* `deploy` instead `publish`
2022-03-14 21:25:22 +09:00
..
.gitignore
index.js
package.json chore: update examples (#137) 2022-03-14 21:25:22 +09:00
README.md chore: update examples (#137) 2022-03-14 21:25:22 +09:00
wrangler.toml chore: update example (#123) 2022-03-04 16:39:58 +09:00

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 deploy # Publish your worker to the orange cloud