Run it

The workspace README lists every route and the required environment. In short:

from the repository rootsh
cd examples/skills-only-app
# apply the reviewed migrations from crates/*-impl-timescale/migrations first
export APP_DATABASE_URL=postgres://user:[email protected]:5432/lending
export APP_STAFF_SUBJECTS=<staff-principal-subject>
cargo run -p web

Notes

  • Browser use requires HTTPS: the session cookie stays secure in every environment, so use secure local HTTPS rather than weakening the cookie.
  • The booking migration needs PostgreSQL/Timescale btree_gist for the exclusion constraint.
  • Staff actions check the authenticated subject against APP_STAFF_SUBJECTS; absent or empty values deny staff actions.