# Superslate - [Introduction](/): Understand what ships in the foundation, how the workspaces connect, and where to build first. - [Tech stack](/tech-stack): The technologies, runtimes, and responsibilities powering every layer of the foundation. - [Local setup](/setup): Create a product repository and run the complete stack locally. - [Configuration](/configuration): Assign every product setting to the correct runtime boundary without exposing secrets. - [Project structure](/project-structure): Where every application surface, shared package, migration, and operational boundary lives. - [Product scope](/product-scope): See what ships, what every buyer must decide, and what version one deliberately omits. - **Architecture & Surfaces** - [Architecture](/architecture): Understand the boundaries between the web app, API, contracts, providers, and data. - [State machines](/state-machines): Every lifecycle the API persists, its invariants, its legal transitions, and the reachable invalid states that were found and fixed. - [Product surfaces](/product-surfaces): Understand the shipped browser routes, settings flows, and zero-key product behavior. - [Web UI patterns](/web-ui): Use the shipped React components, state boundaries, accessibility behavior, and tests. - [Mobile](/mobile): Run, build, release, and instrument the Expo client that shares this backend. - [Marketing site](/site): The static Astro marketing site that ships in apps/site. - **Build & Customize** - [First feature](/first-feature): Add a durable product capability from schema to UI without bypassing the architecture. - [Worked feature](/worked-feature-bookmarks): Build a personal saved-links domain from a concrete product decision through browser proof. - [Customization](/customization): Make the boilerplate your product while preserving its architecture and safety boundaries. - **Core Subsystems** - [Authentication](/authentication): Configure and extend Better Auth without creating a second session authority. - [Billing](/billing): Configure web billing and optional mobile IAP with server-authoritative entitlements. - [Transactional email](/email): Configure Resend, export email templates, and keep local development zero-key. - [Object storage](/storage): Configure staged uploads and private organization files through R2, Amazon S3, or GCS. - [Notifications & marketing](/notifications-marketing): Operate the notification inbox, preferences, waitlist, contact form, and Slack alerts. - [Security](/security): Review the production security contract, protections, and explicit limits. - [Background work](/background-work): Decide when product work needs a queue, worker, or scheduled execution model. - **Test & Deploy** - [Testing](/testing): Run the deterministic verification path and targeted database integration tests. - [Unused code](/unused-code): Find and remove dead files, dependencies, and exports with knip after a change lands. - [Deployment](/deployment): Choose Railway, AWS, or GCP for the Bun API and PostgreSQL, then configure the frontend host and verify the release. - [Go live](/go-live): Prepare the application, providers, operations, and buyer experience for a real launch. - [Docs site](/docs-site): Run, verify, and publish the buyer-distributed Fumadocs and Next.js application. - **Operate & Maintain** - [Troubleshooting](/troubleshooting): Diagnose common failures from observable symptoms without bypassing safety checks. - [Upgrading](/upgrading): Upgrade a generated product through reviewed source changes and explicit evidence. - [Releases](/releases): Identify immutable product releases and rehearse a safe upgrade path. - [Removing subsystems](/removing-subsystems): Remove an optional integration as a complete vertical slice. - [Support](/support): Prepare a reproducible, redacted support request with useful operational evidence.