Docs

SpacetimeDB

Memory fallback, module schema, publish/generate flow, and adapter wiring expectations.

1

Leave SPACETIME_HOST and SPACETIME_MODULE blank for local memory fallback.

2

When SpacetimeDB env is set, the adapter fails loudly until generated bindings are wired.

3

The module schema includes users, workspaces, memberships, billing customers, subscriptions, purchases, and launch checklist items.

4

Generated bindings belong in apps/marketing/src/lib/spacetime/generated.

5

Route handlers and UI components must keep using repository interfaces instead of generated database clients.