Legacy: Config-Driven Walkthrough
This walkthrough still describes a valid authoring flow, but the canonical docs path is now split more clearly:
The flow you are looking for
Section titled “The flow you are looking for”If your goal is “show me the normal way to author a Slingshot app,” the answer is:
- scaffold the app with
defineApp(...)inapp.config.ts - compose with
packages: [...] - define packages with
definePackage(...) - define data-shaped domains with
defineEntity(...) - add named behavior with
defineOperations(...) - customize with route policy, storage wiring, overrides, and extra routes only when needed