@paneljs/paneljs
v0.2.1
Published
Django-style, schema-driven Prisma admin panel for Express and Node.js applications.
Maintainers
Readme
paneljs
Schema-driven admin core. Register models and serve a guarded operations UI.
Install with the adapters for your stack:
npm install paneljs @paneljs/express @paneljs/prismaimport { createAdmin } from "paneljs";
import { prismaAdapter } from "@paneljs/prisma";
import { mount } from "@paneljs/express";
const admin = createAdmin({
adapter: prismaAdapter({ prisma }),
auth: { getCurrentUser },
});
admin.register("User");
await mount(app, admin);See the repository for docs and the example app.
