← Back to home

Case study 03 In production

A membership and payments system I run in production

Fees, family discounts and payment validation for an orienteering club, built pro bono and maintained alone.

Key points

The problem

The club tracked fees by hand. Members needed one place to see what they owe and pay it (cash, bank transfer or MB WAY, with proof of payment), and admins needed to validate payments without spreadsheets.

What I built

  • Charge generation with the club's real rules. Only members who renewed for the year are billed; family dependants pay a reduced fee; members registered with the national federation get the extra federation charges. Running the generation twice does not double-bill anyone, and admins see a preview before confirming.
  • A payment flow with clear states. A payment is submitted, then confirmed or rejected by an admin, and that decision updates the charges it covers. "Awaiting validation" is derived from those states rather than stored separately, so it can't drift.
  • Accounts without friction. Admin and member sessions share one model, members are invited with signed, expiring links, and login is rate-limited.
  • The back office in ActiveAdmin. The club gets a full admin interface without a second app to maintain.

Running it

  • One server on Hetzner, deployed with Kamal, with a separate staging environment.
  • Daily database backups to Cloudflare R2 with 30-day retention.
  • Errors reported to Sentry and forwarded to a chat channel I watch.
  • Data fixes shipped as data migrations.

Decisions and trade-offs

  • One small VPS instead of a platform-as-a-service. The cheapest reliable option for a volunteer club, at the price of owning backups and monitoring myself.
  • Solid Queue inside the web process instead of Sidekiq and Redis. One fewer service to run for a workload this size.
  • ActiveAdmin as the whole back office. Fast to build and familiar, less flexible for custom flows.

What I'd point out

This is the project where I own everything after the merge: deploys, backups, incidents and the conversations with the people who use it.