Brittny Ann Photography website case study
LiveA near-zero-cost website build for a Cache Valley client, with auto-generating galleries and private delivery
Built by Caden Sorenson · Launched June 2026
The project
Brittny Ann Photography is a client project, a website for a new, part-time business in the Logan, Utah area. The brief was two jobs on one site: a public, photo-forward front for the work, and a private place where clients view and download their finished galleries. It also had to cost almost nothing to run while the business is small. That cost constraint drove the whole architecture.
The Build
This is a Next.js 15 site running on Cloudflare, engineered around a single idea: keep the cost near zero by designing around $0 egress.
Key technical decisions:
- Private R2 bucket, no public URL. Original photos live in Cloudflare R2, which charges no egress fees. The bucket is never exposed directly; a single worker is the only public read path for images.
- On-the-fly resizing with Cloudflare Images. The worker resizes originals to web sizes on demand and edge-caches them, so full-resolution files never leave storage during normal browsing.
- Folder-as-gallery. Brittny drops photos into a folder in the bucket and a gallery appears. A scheduled worker reconciles the bucket with the database, creating galleries and, for private ones, an unguessable share code.
- Watermarked public galleries, private client delivery. Public galleries are watermarked and view-only. Private galleries are reached by share code and allow full-resolution downloads through short-lived presigned links.
- Portable by design. Storage and database are reached over Cloudflare’s HTTP APIs rather than runtime bindings, so the same code runs on any Node host.
Results
The client got a professional, fast site that delivers galleries to clients, running on infrastructure that costs almost nothing while the business is small and can scale up without re-architecting. The interesting part of this project was the build, not the storefront.
Build log: building a near-zero-cost photography site, and the bug that took it down.
Frequently asked questions
Does Vient build websites for small businesses in Cache Valley?
How does the photo gallery system work?
Why was it built to run on Cloudflare R2 and Images?
How are private client galleries kept secure?
More about Brittny Ann Photography
- Behind the build Building My Wife a Website for Almost $0 a Month I built my wife's new business a Next.js site on Cloudflare designed around $0 egress. Then a Next prefetch tripped the CPU limit and took the gallery down.
- From the blog Building a Single-Page Client Site, Mostly by Prompting Claude A local client had an Instagram and no website. I gave Claude the prompt, the real details, and a style direction, and it built three files. Content was harder.
- From the blog Building a Local-SEO Site for an Age-Restricted Shop, in Code This Time After rebuilding one AI-builder client site in code, I built this one in Astro with Claude from day one: a clean local-SEO site for an age-restricted retailer.
- From the blog Building PackSmart: An AI Packing List With Weather How I built a free AI-powered packing list tool as part of the Travel Vient travel ecosystem, and what I learned about wrangling LLM output into reliable JSON.
Related projects
- Related project Cub River Kratom A web design case study: a custom Astro 5 site for a Cache Valley retail client, with one business-data file, local and FAQ schema, and nearby-city pages.
- Related project Diamond Pest Pro A web design case study: a custom Astro 5 site for a multi-location Carolinas home-service client, with a page per branch and service plus LocalBusiness schema.
- Related project Dill the Menace A web design case study: a custom Astro 5 site for a Cache Valley client, with one source of truth for business data, local and FAQ schema, and a static deploy.