Skip to content

Quickstart

The Bukinistika experiment includes a SvelteKit storefront and CMS. It uses a disposable PostgreSQL database loaded from a local Bukinistika export.

Install Bun, Node.js, Rust, and the PostgreSQL CLI tools. From the repository root, install the workspace and import your Bukinistika PocketBase export.

Terminal window
bun install --frozen-lockfile
bun run import:bukinistika /path/to/bukinistika/data.db
bun run dev

Open the CMS and select Books. The first generation can take a while because it builds the Rust schema compiler. Stopping the demo removes its temporary PostgreSQL database.

Open experiments/06-native-schema/kinetic/collections/books.kinetic and add a field to Book.

shelfNote String? @kinetic.label("Shelf note")

Run the generator from the repository root.

Terminal window
bun run generate

The new field is available to the generated database client and the CMS editor. Fix any type errors in project code that still refers to old field names. Restart the disposable demo to try the new schema, or generate a migration for an existing database.

The schema guide covers the generated files and where to put custom code.