🔍⌘K

Start typing to search docs.

SDK Overview

1.0.0

Orientation to shared packages and how generated apps consume them.

Shared packages

The common/ workspace exposes libraries that unify config, auth, payments, analytics, and UI across the dashboard and generated apps.

PackagePurpose
@app-factory/configLoads ops/apps.yaml, resolves secrets, emits .env.generated files.
@app-factory/forgeapps-sdkSupabase helpers and hooks for tenant-aware data access.
@app-factory/paymentsStripe billing flows, webhooks, and customer portal helpers.
@app-factory/uiShared UI primitives with React + React Native parity.

Info

All packages ship TypeScript types and runtime validation. Rebuild them (pnpm --filter <package> build) whenever you change shared code.

Quick import cheat sheet

import { loadAppsConfig } from '@app-factory/config';
import { useSupabaseClient } from '@app-factory/forgeapps-sdk/web';
import { createCheckoutSession } from '@app-factory/payments/stripe';
import { Button } from '@app-factory/ui';

Continue digging into the package-specific pages below.