This is a minimal starter for building a new Cloudflare Workers project that uses TypeScript, Hono, Miniflare, esbuild and Vitest. Use this boilerplate to build your new best thing ヾ(๑╹◡╹)ノ"
- Rename the
wrangler.example.toml
towrangler.toml
and populate the variables - Run
pnpm run dev
in your terminal to start a development server - Open a browser at
http://127.0.0.1:8787/
to see your worker in action - Make HTTP requests to
/cdn-cgi/mf/scheduled
to trigger scheduled events
# Install dependencies
$ pnpm install
# Start local development server with live reload
$ pnpm run dev
# Start remote development server using wrangler
$ pnpm run dev:remote
# Run tests
$ pnpm run test
# Run coverage test report
$ pnpm run coverage
# Deploy using wrangler
$ pnpm run deploy