Production code
you can inspect.

Every genFabric project ships with full source code, tests, and documentation. Here's what that looks like in practice — an open-source demo you can explore yourself.

Berliner Rundschau — Startseite mit Artikeln, Navigation und Dark-Mode-Design
Berliner Rundschau

A modern news portal demo — responsive, accessible, fully tested. Built with the same pipeline and quality standards as every genFabric project.

558
Test Cases
0
any Types
109
ARIA Attributes
58
Test Files

Lighthouse

Scores from production build

91
Performance
100
Accessibility
100
Best Practices
100
SEO

Quality

What's inside

Every quality feature shown here is part of every genFabric project — not optional, not extra.

strict TypeScript

Full strict mode, zero any escape hatches. Every prop, every API response, every state value is explicitly typed. 12,000+ lines of source code with complete type safety.

558 Test Cases

Component tests, utility tests, integration tests. Testing Library with accessible queries (getByRole, getByLabelText) — 183 accessible query calls. Test code is 70% the size of source code.

WCAG AA Accessibility

109 ARIA attributes, skip links, focus management, keyboard navigation. Screen reader support with live regions. prefers-reduced-motion respected.

CSP Security Headers

Content Security Policy, X-Frame-Options, Referrer-Policy, Permissions-Policy. Dynamic CSP based on configured CMS image domains. No inline scripts in production.

3 types JSON-LD

Structured data for Article, CollectionPage, and Person schemas. Server-rendered for instant indexing. Validated against Schema.org specifications.

retry Error Handling

Error boundaries with retry logic (max 3 attempts). No sensitive server details in the UI — only digest references for support. Bilingual error messages (DE/EN).

Source Code

Example: ArticleCard component

Typed props with sensible defaults. Semantic HTML. Configurable heading level for correct document outline.

src/components/ArticleCard.tsx TypeScript React
interface ArticleCardProps {
  article: Article;
  headingLevel?: "h2" | "h3" | "h4";
  variant?: "default" | "hero" | "compact";
  eager?: boolean;
}

export default function ArticleCard({
  article,
  headingLevel = "h3",
  variant = "default",
  eager = false,
}: ArticleCardProps) {
  const Heading = headingLevel;
  const href = routes.article(article.slug);

  return (
    <article className="group relative rounded-xl bg-(--color-surface)">
      <SafeImage
        src={article.image.fallbackSrc}
        alt={article.image.alt}
        loading={eager ? "eager" : "lazy"}
      />
      <BadgeGroup
        category={article.category}
        isPremium={article.isPremium}
      />
      <Heading>
        <Link href={href}>{article.headline}</Link>
      </Heading>
    </article>
  );
}

Tech Stack

Next.js 16 React 19 TypeScript 5.8 Tailwind CSS v4 Vitest Testing Library DOMPurify Vercel

Delivery

What you receive

Every project ships with personalized documentation (DE + EN) and automated CMS setup — not just source code.

Architecture Overview
Config Reference
Branding & Design Tokens
CMS Setup Guide
SEO & Performance
Testing Guide
Deployment Guide
API & Integrations
$ npx setup-cms --space your-space-id
Content types created (5 models)
Demo content imported (12 entries)
Media assets uploaded
Webhooks configured
Done — CMS ready in 45 seconds.

No credentials shared. You run the setup script in your own CMS space — we never need access to your accounts.

Scope

Demo vs. your project

This demo shows the code quality baseline. Your project adds everything needed for production.

This demo shows

  • Code architecture & component patterns
  • 558 test cases (Vitest + Testing Library)
  • WCAG AA accessibility (109 ARIA attrs)
  • SEO: JSON-LD, Open Graph, sitemap
  • Security headers (CSP, X-Frame-Options)
  • Dark mode via design tokens
  • Error boundaries with retry logic
  • RSS feed, responsive images

Your project also includes

  • + HubSpot CRM integration
  • + Cookie consent + Consent Mode v2
  • + Analytics pixels (GA4, Meta, etc.)
  • + Multilingual content (i18n)
  • + CMS content + automated setup scripts
  • + 8 handoff documents (DE + EN)
  • + Deployment config (Vercel / AWS)
  • + Your brand, colors, and typography

This is a baseline demo — your project is configured to your brand, CMS, and feature set.

Ready to see your own project?

Tell us about your website. We'll show you a plan, a timeline, and a price — no commitment.