Start
Getting started
Create a project, choose its apps, and run everything locally.
Requirements
- Node 24. The version is pinned in
.nvmrcand enforced byengines. - pnpm 12. Corepack or a global install both work.
- Docker, if you keep the API. It runs Postgres and Redis; nothing else needs it, and the tests need neither.
- Rust, only to build the desktop app from
apps/web.
Create a project
pnpm create stack88 my-appThe scaffolder asks which apps to keep, the project name and its npm scope. It then downloads the
template at the release matching its own version, removes the apps you left out, renames every
@stack88 package to your scope, and offers to write .env files, install dependencies and make
the first commit.
Every question has a flag, so the same project can be created without prompts:
pnpm create stack88 my-app --apps api,web --no-desktop -y --env --install --git--dry-run shows what would be created and leaves the disk untouched. --help lists every flag.
If you created the repository with GitHub’s Use this template button, run the scaffolder inside the clone instead:
pnpm dlx create-stack88 --hereRun it
With the API kept, start its services and apply the migrations once:
pnpm services:up
pnpm --filter @my-app/api db:migrateservices:up returns once Postgres and Redis answer. Then start every app:
pnpm dev| App | Address |
|---|---|
| API | http://localhost:3000, with its reference at /docs |
| Web | http://localhost:5174 |
| Showcase | http://localhost:4321 |
pnpm dev starts every workspace with a dev script, and watches the shared packages so a change
to a schema reaches the apps at once. To run one app and the packages it uses:
pnpm exec turbo run dev --filter='@my-app/web...'pnpm services:down stops Postgres and Redis and keeps the data. pnpm services:reset drops the
database as well, the quickest way back to a clean migration run.
Next steps
- Read Project layout before adding code, so each file lands where the checks expect it.
- Add your first endpoint with
pnpm kit generate api-domain, described in Code generators. - Run
pnpm checkbefore every commit. The quality gate explains each step.