Mojo Boston
A turnkey festival website exploring PayloadCMS as a white-label foundation for festival organizers.
- role
- Consulting engineer
- status
- Inactive
- years
- 2025
01The problem
Festival organizers need websites, but they don't need another CMS to learn. They need a site that's pre-populated with their lineup, schedule, and venue data — the same data already living in Knokr Base. The question was whether an off-the-shelf CMS like PayloadCMS could serve as the foundation for a white-label festival site product, or whether the domain-specific requirements would outgrow it.
02What I built
A fully custom festival website for a one-day Boston music festival, built on PayloadCMS 3.80 and Next.js 16. The stock Payload website template ships with a blog and four basic blocks. I kept the foundation — auth, admin panel, page builder, rich text editor — and rebuilt everything else into a festival-specific platform.
03Key decisions
24 custom block components
The stock template's generic content blocks couldn't handle festival-specific layouts. I built 24 purpose-built blocks — a lineup word cloud with artist names sized by billing tier, a day-tabbed schedule with stage grouping and 12h/24h time toggle, flip-card ticket tiers, interactive Leaflet venue maps with Stadia dark tiles, sponsor grids, FAQ accordions, and more. Every block exposes full admin-configurable styling: colors, 4-way padding, max width, background images, rounded corners, shadows, font sizes and weights. This gives organizers real design control without touching code.
Live Knokr database integration
Rather than duplicating data, the site reads directly from Knokr's shared PostgreSQL database — artist names, images, genres, billing tiers, social links, schedule events grouped by day and stage, venue coordinates, and festival metadata. All read-only. Data is managed in Knokr Base and displayed here, which means lineup updates in Base appear on the festival site without any manual sync.
Custom S3 media system
Payload's built-in media handling broke on Railway — files were wiped on every deploy, and the S3 plugin was unreliable. I replaced it entirely with a custom upload collection using beforeChange hooks for S3 uploads, afterDelete hooks for cleanup, a custom admin media library view with grid/list display, bulk upload, bulk delete, pagination, and a sync endpoint to reconcile existing S3 bucket files with database records. Local storage is fully disabled — everything goes directly to S3.
Multi-database architecture
The site runs against two PostgreSQL databases simultaneously — one for Payload's own content (pages, posts, admin users, CMS configuration) and one for the Knokr festival data (read-only connection). This required managing separate connection pools and handling Railway's constraint that internal PostgreSQL hostnames don't resolve during build, meaning schema has to be pushed via external URL before deployment.
Brand design system
Custom CSS variables and Tailwind theme with the client's palette, Moret serif font via Typekit for headings, golden ratio (1.618:1) for artist card images, and a rule of no opacity on text. Every block supports the full color palette through admin select fields, so the organizer controls brand consistency from the CMS.
04Architecture
Next.js 16 with Turbopack, PayloadCMS 3.80, dual PostgreSQL databases (Payload + Knokr read-only), AWS S3 for media, Leaflet with Stadia Maps for venue maps, Tailwind CSS 4, Lexical rich text editor, Sharp for image processing. 232 TypeScript files. Deployed to Railway with Nixpacks.
05What I learned
PayloadCMS is a solid foundation for generic content management, but festival websites have domain-specific requirements that push against a general-purpose CMS at every turn. The 24 custom blocks, the replaced media system, and the external database integration represent significant engineering effort that would need to be repeated for every new festival site. This experiment validated that the Knokr data layer works well for powering external sites, but also made the case for purpose-built festival site tooling rather than adapting a generic CMS — a finding that's informing the next phase of the platform.