Astro application deployed as a Cloudflare Worker. The browser authenticates with Microsoft Entra ID and sends print jobs to the configured print-service API.
-
Install dependencies:
bun install
-
Copy
.dev.vars.exampleto.dev.varsand fill in the Entra application values. Register the same redirect URLs in Entra. -
Start Astro in the Cloudflare Workers runtime:
bun run dev
The app is available at http://localhost:4321.
bun run check
bun run test
bun run build
bunx wrangler deploy --dry-runConfigure the variables listed in .dev.vars.example in the Cloudflare Worker
environment, then run:
bun run deployENABLE_DEMO_ROUTES defaults to false; set it to true only in development
to expose the simulated queue.