gize-admin
Admin UI generator for the Gize framework.
gize-admin generates a separate Vite + React + TypeScript admin SPA for your resources,
exposed through gize make admin (see
ADR-006).
The admin is data-driven from the manifest: it emits one descriptor per resource (fields
plus a Zod schema that mirrors the backend validation), and a single generic Resource
component renders List, Create, Edit and Delete for any of them, with search and pagination.
It authenticates with the existing JWT login and reaches the API through a Vite dev proxy, so
the backend needs no CORS or other changes. The generated app lives under admin/ and builds
independently (npm install && npm run dev).
Stack: Vite, React, TypeScript, TanStack Query and Table, React Hook Form, Zod, Tailwind.
Usage
This crate provides the template functions consumed by
gize-generator. As a user you invoke it through
the CLI:
&& &&
Part of the Gize workspace
| Crate | Role |
|---|---|
gize-core |
Domain model, manifest, dialect, conventions |
gize-generator |
Codegen engine: safe writer, sync, plugins |
gize-templates |
Templates for the generated code |
gize-admin |
Admin UI generator (this crate) |
gize |
The gize CLI |
License
Licensed under either of Apache-2.0 or MIT at your option.