Skip to content

Legacy: Config-Driven Walkthrough

This walkthrough still describes a valid authoring flow, but the canonical docs path is now split more clearly:

  1. Quick Start
  2. Package-First Authoring
  3. Entity System

If your goal is “show me the normal way to author a Slingshot app,” the answer is:

  1. scaffold the app with defineApp(...) in app.config.ts
  2. compose with packages: [...]
  3. define packages with definePackage(...)
  4. define data-shaped domains with defineEntity(...)
  5. add named behavior with defineOperations(...)
  6. customize with route policy, storage wiring, overrides, and extra routes only when needed