Skip to content

Foundation for developers

Next.js · React · TypeScript

Foundation is a working website codebase with a framework-independent core, application ports, adapters and Next.js presentation. It is intended to give developers a maintained starting point without hiding the architectural decisions they inherit.

Architecture and dependency direction

The documented boundaries distinguish business-independent logic from frameworks and external providers.

  1. Authored site input

    Configuration, page content, locale dictionaries and assets describe the site being built.

  2. Core and application

    Framework-independent concepts and application services define behaviour through ports rather than importing concrete web or provider implementations.

  3. Adapters and presentation

    Adapters implement the ports. The Next.js and React layer handles routing, metadata, server-first composition and interactive UI where needed.

  4. Build and deployment

    The configured application is validated, built and deployed using the documented hosting workflow.

Configuration or code?

A useful boundary is knowing which changes the existing system supports and which require an implementation change.

Usually configuration or content

  • Business identity and contact details
  • Page documents and navigation
  • Brand assets and design-token choices
  • Available locales and translations
  • Supported capability switches and provider selections

Usually code and tests

  • A new provider adapter or integration
  • A capability the codebase does not implement
  • New reusable UI behaviour or content rendering
  • A downstream business application
  • Changes outside the current schema or extension points

What the codebase already handles

These are implemented foundations you can inspect and extend rather than repeatedly assemble.

  • Page routing and content

    Structured content models, route resolution and language-aware page loading.

  • Presentation and metadata

    Reusable layout composition, design tokens, navigation, canonical URLs and metadata generation.

  • Provider boundaries

    Defined interfaces and adapters for supported website connections; external business systems are not part of the core.

  • Validation

    Schema-checked configuration and dictionaries, asset checks and tests that exercise architectural boundaries.

Verification you can run

A test suite is evidence of specific checks, not a promise that every device, integration or accessibility outcome has been certified.

  • Schema validation

    Unknown or malformed supported configuration is rejected rather than silently accepted.

  • Architecture tests

    Checks enforce dependency rules so framework and adapter imports cannot spread into the core unnoticed.

  • Build and code quality

    TypeScript, lint, asset validation and production builds provide repeatable checks.

  • Browser acceptance

    The repository contains real-browser scenarios for routes, responsive behavior and supported interactions.

  • Documented limitations

    Foundation does not claim WCAG conformance, penetration testing, a security certification, published performance scores or universal device coverage.

An extension is development work

Adding a provider can require an adapter, factory and configuration-schema changes. A genuinely new capability may require changes throughout the system. Foundation provides documented boundaries; it is not a promise of a no-code plugin marketplace.

Adopt, maintain and upgrade

Use the repository for the actual commands and the decisions that affect your installation.

Start with the public README and adoption manuals. Configure a site, provide its content and assets, run the applicable validation and follow the deployment guide. Keep installation-specific material and operating access under the adopter's control.

The repository also documents how to evaluate later Foundation updates. Upgrades require review and validation; they are not automatically applied to downstream installations.

Technical reference documents

These links point to the public repository, where the source and operating instructions are maintained together.

Explore the implementation

Read the source when you need technical authority; use the website to understand its purpose and limits.