Henry Bonikowsky
← All work

website · CMS · Live

Whitworth Men's Volleyball

The club team's website, with a login-protected editor so officers can update it without me.

Cloudflare WorkersD1R2Cloudflare Accessvanilla JS

The site's home page: the WHITWORTH wordmark with a volleyball as the dot of the i, above a volleyball net

What it is

The club needed a site that officers could keep current: schedule, results, roster, announcements, and photos. So the public page renders from one API call, and officers edit everything at /admin. There is no build step and no dependencies: a single Worker serves the static site and the API.

The officer editor: tabs for games, roster, announcements, and officers, and a form for adding a game with photos

The officer editor, running locally against a dev database.

How it’s built

  • Cloudflare Worker for the API and the static assets, D1 for the data, R2 for photos.
  • Login through Cloudflare Access (a one-time email code). The Worker doesn’t just trust Access: it re-verifies the signed token itself (signature, audience, issuer, expiry), then looks the email up in its own officer table.
  • Two roles. Editors manage games, roster, announcements, and photos; admins also manage officers. The last admin can’t be removed.
  • Photos are resized in the browser before upload and stored under random keys, never anything derived from a person’s email.
  • Tests: a token-verification check, and a smoke test that exercises every API route against a local Worker (79 checks passing).

Where it stands

Live at its own domain. The season’s schedule, results, and roster haven’t been filled in yet, so most sections still say “coming soon.” A merch storefront with a cart is up too, but ordering isn’t open yet: placing an order is a stub that shows “Ordering opens soon.”


← Back to all work