stack88
Browse the documentation

Start

Introduction

What stack88 is, what a new project contains, and when it is the right starting point.

stack88 is a template for a TypeScript monorepo with several apps that ship separately but share their contracts, authentication, translations and tooling. A new project starts with every app already wired up and passing its checks, so the first commit you write is product code.

There is no product inside. Each app is the smallest working version of its stack: routing, auth, database, cache, mail, storage and translations are in place, and the rest is up to you.

What a project contains

Workspace What it is
apps/api NestJS 12 with Drizzle, better-auth, and an OpenAPI reference
apps/web React 19 and Vite 8, TanStack Router and Query, a Tauri desktop shell
apps/mobile Expo 57 and React Native, signed in through the same better-auth
apps/showcase An Astro 7 static site in English, French and Arabic
infra A Pulumi program, ready for the cloud you choose
packages/schemas Zod 4 schemas every app shares
packages/contracts REST endpoint descriptors and one typed HTTP client
packages/i18n The translation catalogs the API, web and mobile apps read
packages/ui Base UI and Tailwind v4 components
packages/table Data tables with URL state and server pagination, built on ui
tooling/cli kit, the generators that write code the way the repository expects

You keep only the apps you need. The scaffolder removes the rest, along with every line of configuration that mentions them.

What holds it together

Three things keep the apps consistent as the code grows, whoever writes it:

  • Shared contracts. A Zod schema validates the API’s input, documents it in OpenAPI and types the client the web and mobile apps call. See Shared contracts.
  • One quality gate. pnpm check runs formatting, lint, build, typecheck, tests, unused-code detection and import boundaries. CI runs the same steps. See The quality gate.
  • Generators that pass the gate. pnpm kit generate api-domain writes a schema, a contract, a Nest module and their tests that pass every check as written. See Code generators.

When to use it

stack88 suits a product that needs more than one client on one API: a web app and a mobile app, an admin and a public site, or a desktop build of the web app. It also suits a team, or a coding agent, that benefits from the rules being enforced by tools rather than remembered.

For a single static site or a single API, a framework’s own starter is smaller and will serve you better.

Ready to start? Getting started takes you from an empty directory to every app running.