Architecture overview
A high-level look at the Legal Eagle platform's stack and design choices. No secrets, no internal endpoints — this is the credibility piece, written for technically curious readers.
Stack overview
The exact technology choices behind the Legal Eagle platform — React 19, Capacitor 8, Firebase Firestore, Cloudflare Workers, and Neon Postgres — and the reasoning that selected each one.
Data flow
How reads and writes travel between the browser, Firestore, Cloudflare Workers, the AI provider chain, and Neon Postgres in the Legal Eagle platform — and where the trust boundaries sit.
Theme system
How the Legal Eagle platform handles theming — design tokens over Radix Themes, a user-facing customiser with seven controls, dual-layer persistence, and a boot loader that prevents a flash of the wrong theme.
Mobile build
How the Legal Eagle platform ships the same React 19 codebase to Android and iOS with Capacitor 8 — native plugins, permission primers, icon and splash generation, edge-to-edge handling, and the Play submission posture.
SEO & AEO posture
How the Legal Eagle platform is built to be indexed by classic search and cited by AI answer engines — build-time static HTML, per-page JSON-LD, an AI-bot allowlist, a sitemap and feed, and an llms.txt map.