Tech Stack
Core frameworks, tooling, and runtime choices for the Goldie Blocks docs app
This page explains the main technologies in the current codebase and what role each one plays.
Frontend App
React 19powers the UI layer.TanStack Routerhandles file-based routing and route loaders.Viteprovides local development and production builds.TypeScriptis used across the app for typed routes, components, and docs metadata.
Documentation System
Fumadocspowers the docs layout, MDX rendering, and sidebar structure.- Documentation content lives in
content/docsas MDX files. - The docs navigation comes from Fumadocs' own source loader
(
src/pages/docs/api/source.server.ts, configured insource.config.ts) and each directory'smeta.json, not from a hand-written nav module. - Route rendering happens through the
/docs/$route insrc/app/routes/docs/$.tsx.
Styling and UI
Tailwind CSS v4is the primary styling system.shadcnandclass-variance-authoritysupport reusable UI patterns and component variants.lucide-reactprovides iconography.next-themesis available for theme support.- Two type faces: Lora for the document and DM Sans for the app, with system monospace for authored source only (Tailwind rules).
Component Development
Storybookis set up for isolated component work and documentation.- The current repo includes atomic button stories as the first Storybook slice.
Testing
Vitestis configured for automated tests.Testing Libraryis available for component and DOM-level testing.Playwrightis installed for browser-level testing when needed.
Mermaid and Rich Content
- MDX pages support fenced
mermaidblocks for workflow and sequence diagrams. beautiful-mermaidis included to improve Mermaid rendering in the docs experience.
Backend and Domain Architecture
- The documentation assumes a
Convex-backed runtime and schema model for documents, parties, sessions, and response flows. - That backend model is documented under
Schemas. - Workflow-specific behavior, such as OTP authentication and interview progression, is documented under
Workflows & Logic.
Why This Structure
Tech Stackexplains what the app is built with.Schemasexplains how the legal document data model is structured.Workflows & Logicexplains how users and documents move through the system.
That order keeps platform context separate from domain design and process behavior.