Can Do
Crew
A ready-to-launch booking site for a kid-run curbside bin-cleaning business.
DETAIL B — SHOWN IN THE PROJECT'S OWN FINISH
- Cloudflare Worker
- Static assets
- D1
- Turnstile
- Email Routing
- Access
SECTION C–C · SCOPE
This one is built ahead of its owner. It's a working mockup for a bin-cleaning business my kid might run next summer, ready to switch on if he wants it.
A small business needs a page that loads fast on a phone, takes a booking, and tells someone about it. That's the whole job, so the architecture stays that small: one Cloudflare Worker serving a prebuilt page, a single D1 table, and an admin page for working through the week's bookings.
The booking form is protected by Turnstile and a honeypot. Each booking is matched against the service area, priced at the launch rate or the regular rate, and saved before anything else happens. An email alert and a geocode for future route planning follow in the background.
The admin side sits behind Cloudflare Access, and the Worker re-verifies the Access token itself, so a misconfigured policy still can't expose customer data. From there, bookings get grouped by weekend day, marked confirmed or done, and annotated.
DESIGN DECISIONS
FREE TIER, ONE DEPLOYABLE
The Worker, D1, Turnstile, Email Routing and Access all fit Cloudflare's free plan. One deploy command builds and ships the whole thing.
STATIC BY DEFAULT
The marketing page is prebuilt HTML. Only the booking API and the admin page run code, so page views cost nothing.
SAVE FIRST, THEN NOTIFY
The booking row is committed before the email alert and geocoding run in the background. A broken email setup can't lose a customer.
ONE SET OF FORM RULES
The same validation module runs in the browser and the Worker, so both enforce identical rules with identical error text.
CONTENT IN ONE FILE
Prices, the launch offer and the FAQ live in one JSON file and are baked in at build time. Changing a price is an edit and a deploy, never a code change.
FLAG, DON'T REJECT
Addresses are checked against a hand-reviewed list of served streets. Out-of-area bookings are saved and flagged so a person makes the call on edge cases.