Isolated learning atmosphere · v4.x
Void in Practice: Build Jumble Cookies
Most framework tutorials hand you a counter, a to-do list, or a weather card. This one hands you a cookie shop.
Jumble is a small-batch Jamaican cookie storefront built on Void and Vue. It has a rotating weekly menu, a box builder, a cart, pickup, checkout, orders, and an admin view. You build it one real stage at a time — and every lesson embeds the actual app at that stage.
What you will build#
Eight stages, one codebase:
- Foundation — Void + Vue, the branded shell, and the stage route. Live now.
- Weekly menu — D1, Drizzle, and a seeded rotating menu. Live now.
- Storefront — Cookie pages, box sizes, and typed page props. Live now.
- Box + cart — KV sessions, the cart API, and a live drawer. Live now.
- Pickup + checkout — Locations, pickup slots, validation, and orders in D1. Live now.
- Order status — A status page, background confirmation, and a weekly menu cron. Live now.
- Admin + auth — Protected menu and order operations. Live now.
- Ship — R2 images, CI, the production deploy, and the final storefront. Live now.
The final app is /. Until each stage ships, /preview/:stage shows the app with only the features that exist at that point. The live preview above is the real stage 8 app, not a video or a screenshot.
How this series works#
Each lesson follows the same shape:
What it is → Why you'd care → What we're building → Before/After → Do it yourself → Live stage → Gotchas → Recap.
The live stage is part of the lesson. It is a real iframe pointing at /preview/:stage on the Jumble deployment. The blog passes NUXT_PUBLIC_JUMBLE_URL and the stage number; the app does the rest. The code shown in the lesson is the code in apps/jumble, so the preview and the source cannot drift.
The app is its own brand. Jumble is an original Jamaican bakery identity with original cookie names, copy, and art; the ordering flow is inspired by modern cookie stores, not copied from their assets or trade dress.
Before you start#
- Node 24.21+ (Void 1.2.1 requires it).
pnpmand the Void CLI.- Vue 3 and TypeScript basics.
- A Cloudflare account for the final deploy. Local dev only needs Node.
Void gives us the pieces the app needs: Vue pages with typed loaders, D1 with Drizzle, KV, queues and crons, and void deploy.
Start here#
All eight stages are live. Start with The Jumble Foundation, continue through The Weekly Menu, The Storefront, Box + Cart, Pickup + Checkout, Order Status, and Admin + Auth, then ship with Ship.
The final storefront is /.
Steps
- 1
The Jumble Foundation: One Void App, One Deploy
voidPlugin + Vue Pages
- 2
The Weekly Menu: D1 + Drizzle in the Real Storefront
D1 + Drizzle + typed loader
- 3
The Storefront: Cookie Pages and Box Sizes
Dynamic routes + box sizes
- 4
Box + Cart: KV Sessions That Survive a Refresh
KV sessions + cart drawer
- 5
Pickup + Checkout: Turn the Cart into a D1 Order
Pickup + D1 orders
- 6
Order Status: Queue, Polling, and the Weekly Cron
Queue + polling + cron
- 7
Admin + Auth: Protect the Menu and Orders
Admin sessions + protected APIs
- 8
Ship: R2 Images, CI, and the Final Storefront
R2 + CI + production