• Go to

    Overview
  • Architecture
  • Projects
  • Stack
  • Activity
  • Contact
  • Case studies

    Mosaic: this portfolio platformNext.js · Payload
  • Atomic Dev ToolsNext.js · TypeScript
  • QuickServeFlutter · Dart
  • Where is it used?

    Next.js2 projects
  • Flutter1 project
  • Payload1 project
  • Spring Boot1 project
  • TypeScript2 projects
  • Dart1 project
  • Java1 project
  • AWS SQS1 project
  • Cloudflare Workers1 project
  • Firebase1 project
  • GitHub Actions1 project
  • MySQL1 project
  • pnpm1 project
  • PostgreSQL1 project
  • Razorpay1 project
  • Redis1 project
  • Turborepo1 project
  • Links

    GitHubopens in a new tab

↑↓ move↵ openesc close

GitHub ↗
Live

Mosaic: this portfolio platform

One monorepo for a personal site with several profiles, a brand site, a headless admin, a public demo admin and a contact service.

role
Sole developer
period
Oct 2026 – Now
platforms
Web
kind
open-source
architecture/mosaic
  • clientLocal adminPayload
  • dataNeon PostgresPostgreSQL
  • serviceExport & buildGitHub Actions
  • externalGitHub PagesNext.js
  • clientVisitor
  • serviceContact WorkerCloudflare Workers
  • externalResend

Press “Send request” to trace one request through the system.

The problem

Five portfolio profiles and a brand site, each with its own look, but one place to write content and no server to run or pay for.

The approach

Payload is the only writer. A build step exports published content into a typed snapshot, and both Next.js sites are static exports built from it, so nothing calls the admin at runtime.

Environments are separated by code, not care: seeded documents carry a flag, the seed refuses the production database, and a production build fails if the snapshot contains seed data.

The contact form posts to a Cloudflare Worker that checks Turnstile and a honeypot, validates with Zod, inserts into Postgres as a role that can only insert inquiries, and sends one email.

The outcome

Publishing is a button in the local admin that starts a GitHub Actions deploy to GitHub Pages. A public demo admin, reset every night, lets anyone look around as a read-only reviewer.