Skip to main content

Introduction

Foundation app

The Foundation app is your starter template or reference app — a production-ready consumer site. Use it as a template for a new project or lift-and-shift (copy-paste) features from it into your own app. It provides a minimal but complete consumer site with internationalization, authentication, and example pages. Out of the box, it uses an abstracted UI layer (@foundation/ui) so the underlying library can be swapped. The architecture is designed to be tooling-agnostic, allowing clients to use their preferred UI library with minimal effort.

Foundation is built with @krakentech/blueprint-auth, @krakentech/blueprint-api, and @krakentech/blueprint-onboarding; see Packages for the full list.

To run the Foundation app locally:

pnpm i
pnpm dev

Key features include:

For how Foundation structures features and how to copy them into your project, see Copying features into your project under Development.

Foundation features

The Foundation app includes features built on the Kraken core API (common across all markets) and market-specific features. Here we document both. For features that vary by market, see Market-specific features.