rechtverdient
German legal-tech, specified before a line was written
- Payload CMS 3 inside Next.js
- 806-line build spec
- 11 recorded tech decisions
- designed for one VPS, no cloud deps
A self-hosted German legal-tech platform, specified end to end. It turns consumer-favorable Federal Court (BGH) rulings into conversion-optimized landing pages, so non-technical editors can launch a campaign page per ruling entirely from the CMS, with no code and no redeploy.
The architecture embeds Payload CMS 3 directly inside a Next.js 15 App Router app over one PostgreSQL database. Pages render server-side through Payload's Local API with no network hop, and all content flows through six collections, two globals, and ten composable page blocks rather than hardcoded markup.
The lead-capture path is specified in production-level detail. It covers a Zod schema shared between client and server, silent honeypot rejection, per-IP rate limiting, 24-hour duplicate suppression, and a fire-and-forget confirmation email that, by design, never costs a saved lead. The whole stack (app, Postgres, cookieless analytics, and self-hosted SMTP) is designed to run on a single VPS behind nginx and PM2 with zero cloud dependencies, a deliberate GDPR and accessibility decision.
Eleven technology decisions are recorded with reasoning. The two highest-stakes ones are argued against named alternatives, and version pins are justified by a documented framework regression and a patched CVE. The deliverable to date is the full blueprint: an 806-line build-ready specification across ten implementation phases, plus a design system of ten page mockups codified into Tailwind CSS v4 tokens.