fyr.jsPreparing the runtime

Documentation

Server actions

Call server-side actions from the browser while keeping secrets, authorization, and sensitive logic on the server.

Call an action

Actions are a request convention, not a substitute for server-side authorization and validation.

const result = await Fyr.action("publishProject", {
  projectId: "fyr-site"
});
Keep exploringSee framework examples