One file per resource
Table, form, filters, actions, and policy in a single serializable file.
Alpha · Next.js + Prisma
Dashild is the application admin layer for Next.js. One resource file, server-enforced security, and a UI you own.
MIT licensed · alpha software · no generated pages
$ pnpm create dashild@latest my-app
◇ Scaffolding Next.js + Dashild
◇ Panel ready at /admin
◇ Database ready
Why Dashild
A complete panel without a page generator, a schema DSL, or a second app.
Table, form, filters, actions, and policy in a single serializable file.
Scope, permissions, roles, and tenant isolation are enforced where the data lives.
o2m and m2m managers with create, edit, delete, attach, and detach.
Register cells and fields, copy templates with ui:add, and keep the UI yours.
Better Auth is scaffolded; PostgreSQL, MySQL, and SQLite are supported.
Deploy the Next.js app, not a separate panel. The CLI covers the lifecycle.
The resource
Describe the table, form, filters, and actions. Dashild derives the table, detail, and route; the server enforces the scope.
One file. Zero generated pages.
import { defineResource } from "@dashild/core";
export const customerResource = defineResource({
model: "Customer",
navigation: { label: "Customers", slug: "customers" },
table: {
searchable: ["name", "email"],
columns: [
{ field: "name", sortable: true },
{ field: "email" },
],
},
form: {
fields: [
{ field: "name", type: "text" },
{ field: "email", type: "email" },
],
},
policy: { scope: "organization" },
}); Quick start
Three commands and a resource file. No generators to babysit.
01
Create a Next.js app with the panel, auth, and database wired.
pnpm create dashild@latest my-app 02
Generate one file from your Prisma schema and make it yours.
pnpm dashild make:resource Customer 03
Run the app. Tables, forms, and policies are live.
pnpm dev Dashild
The resource is data, not a template you re-run and reconcile.
Generated CRUD
Dashild
Create the app, describe a resource, and keep building the product.
pnpm create dashild@latest my-app