Skip to content

Where things live

A lookup table keyed the way you ask when you get a ticket: "where's the cart? the theme editor? auth?" Find your area, open the entry file, read the chapter for context.

I'm working on…Package / app · directoryEntry file(s)Chapter(s)
The edge (routing, cache, proxy)apps/edge + packages/edge-coreapps/edge/src/worker.ts8, 14
The renderer (the origin)apps/originsrc/index.ts, src/handlers/*4, 5, 11
The page render specificallyapps/origin/src/handlersstorefront.ts5, 11
Themes (base ⊕ overrides, publish)packages/builder-core/src/themetheme-store.ts, theme-compose.ts, theme-render.ts5, 13
The Liquid engines / isolatepackages/builder-renderengine.ts, isolate.ts, worker.mjs12
Section registry / tiers / islandspackages/builder-registryregistry.ts, islands.ts12
Commerce read-data / resolverpackages/builder-core/src/commerceresolve.ts, resolve-shopkit.ts6, 16
The cartapps/origin/src/handlers + packages/builder-core/src/storefrontcart.ts, storefront/cart.ts6, 15
Checkout / login / side-cartpackages/storefront-integrationscheckout/, kwikpass/, side-cart/6, 15
The account pageapps/origin/src/handlers + packages/builder-core/src/commerceaccount.ts, account-data.ts15
Searchapps/origin/src/handlers + packages/builder-core/src/commercesearch.ts, search-data.ts6
PWA (manifest / icons / SW)packages/builder-core/src/thememanifest.ts, icon.ts, service-worker.ts9
Assets servingapps/origin/src/handlersassets.ts9
SEOpackages/seohead.ts, structured-data.ts, sitemap.ts11
Auth (authN + authZ)apps/admin-api/src/middlewareauth.ts7, 17
The admin API (control plane)apps/admin-apisrc/app.ts, src/routes/*7, 17
Domains / provisioningapps/admin-api/src/{routes,services}/domains.ts + packages/data-provisioningroutes/domains.ts, services/domains.ts8
The AI assistantapps/admin-api/src/servicesassistant.ts7, 17
The admin SPA (frontend)apps/admin-websrc/App.tsx, src/features/*18
The theme editor / customizerapps/admin-web/src/features/themetheme-editor.tsx, theme-customizer.tsx18
The data model (Postgres)db/migrations + packages/data-repo0001_init.sql, forTenant(...)A
The object store (S3/MinIO)packages/data-objectss3.ts, cdn-read.ts13
Observability (logs/metrics/traces)packages/observability*observability-edge, observability10
Deploy / CI.github/workflows + infra/aws/bundle-cdnci.ymlC
Ops scriptsscripts/onboard.ts, migrate.ts, republish-base.tsB

The composition-root rule

Only apps/*/src/config.ts read process.env. Every package takes its config injected — so a package never reaches for a global, which is why the same builder-core runs in the origin, the admin-api, and (trusted parts) the edge. If you need an env var in a package, thread it through, don't process.env it.