integ
v0.0.16
Published
集成化可配置的 CRUD 接口生成和 Admin 生成功能
Downloads
913
Readme
INTEG
集成化可配置的 CRUD 接口生成和 Admin 生成功能
安装
npm i integ
基础使用
// server.js
const { createServer } = require("http");
const { integ, express } = require("integ");
const app = express();
integ.init(app);
createServer((req, res) => {
app(req, res);
}).listen(8010);
运行
node server.js
为什么使用 integ
- 通过定义 model 和 scheme, 自动生成接口和后台管理页面
- 开箱即用的 rbac 权限模型
- 更现代化的 UI 设计,基于 arco.design