Skip to content

shihabmridha/cfworker-hono-boilerplate

Repository files navigation

Work in progress (D1 database connection)

Create a D1 database from cloudflare dashboard and update your wrangler.toml file with proper database name and id.

pnpm install
pnpm run dev

Staging deployment

Make sure to set proper variables/bindings in wrangler.toml file.

pnpm run deploy:dev

Production deployment

Make sure to set proper variables/bindings in wrangler.toml file.

pnpm run deploy:prod

About

A REST API starter for cloudflare worker using Hono

Topics

Resources

Stars

Watchers

Forks