backoffice

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Command backoffice is a minimal example of the battery/admin entity CRUD admin rendered through a UI host: a few entities, a (demo-grade) login, and admin.New(...) generating the whole back-office with defaults.

The admin screens hydrate with runtime.js — the list is a DataTable island (paginate without a reload), delete is a data-fui-confirm button, and forms are server-rendered. There is no bespoke JavaScript anywhere in this app.

The auth here is a deliberately tiny demo stand-in (a signed-cookie-free session) so the example stays focused on the admin. Real apps wire battery/auth and pass admin.Config.Authorize a role check.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL