harmonyos2-showcase Lightweight Pluggable CMS in Node.js with Admin Interface and RESTful API
和声2展示柜 Node.js中的轻量级可插拔CMS,具有管理界面和RESTful API
特征:
- 管理界面
- 可敬的读/写 REST+JSON API
- 可插拔文件存储
- 具有角色和权限的用户管理
- 多租户支持的工作区
- 可选/OAuth集成
- 通过插件自定义字段
- 广播活动
- 基本搜索和排序
入门
为您的项目创建app.js:
var showcase = require ( 'showcase' ) ;
showcase . initialize ( {
"database" : {
"dialect" : "mysql" ,
"host" : "localhost" ,
"database" : "cms" ,
"username" : "cms" ,
"password" : "cms" }
,
"files" : {
"tmp_path" : "/var/tmp" ,
"storage_path" : "/var/tmp" }
,
"port" : 3000 } ) ;
showcase . run ( ) ;
初始化数据库架构:
$ node --harmony-generat
547.31KB
文件大小:
评论区