Skip to content

kademi/kademi

v0.3.2Apache-2.0

Skills for building on the Kademi platform: repository apps, the KSync command line, server-side JavaScript, admin UI, websites and Velocity themes, integrations, journeys, rewards, commerce, security and AI features

kademi-server-js

Use when writing or debugging the server-side JavaScript of a Kademi app, lib or website - anything under APP-INF/ or a website's WEB-INF/, the controllers.xml that registers it, and the account's queries repository. Covers where server code can live and what each place can register, choosing the engine (engineVersion 2.0 is GraalJS and .mjs, 1.1 or unset is Nashorn and .js), the sandbox, registering controllers, menus, roles, components and services, website and admin routes, path resolvers versus GET handlers, POST handling and validation, roles and privileges, app settings, saved queries and custom index fields, the JSON database and user and membership APIs, background async jobs, sending and receiving email, and OAuth 2, CSRF and brute-force hardening. Use when a route 404s, a POST silently does nothing, a privilege check unexpectedly returns 403, a script needs to run in the background, or a server-side error needs tracking down.

Version
0.1
License
Apache-2.0
Read SKILL.md at the source

Pinned to revision 531e3b71a498, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.