hono-template
Install
yarn
Configure
cp .example.env .env
You will need a token to deploy to Cloudflare Workers. To create a token:
- From the Cloudflare dashboard, go to My Profile > API Tokens.
- Select Create Token.
- Select the Edit Cloudflare Workers template, select Account and Zone, and click Continue to Summary.
- Read the token summary and click Create Token.
- Copy the token and paste into
.env
as CLOUDFLARE_API_TOKEN
.
Develop
yarn dev
Test
yarn test
Deploy
yarn deploy