Worker
The worker is a Deno backend using the Hono framework. It serves the static frontend and handles routing.
Location
worker/
├── server.ts
├── deno.json
├── deno.lock
├── index.html
├── sw.js # Service worker
├── static/
└── ...Key details
- Uses Deno URL imports +
npm:specifiers for npm packages - Type checking:
just worker/check(runsdeno check server.ts) - Formatting:
just worker/fmt(runsdeno fmt) - Deployed to Deno Deploy
Development
The worker runs as part of the full dev stack:
bash
just devTo type-check:
bash
just worker/check