Coder Social home page Coder Social logo

wxxcx's Introduction

Coca CMS

基于 egg.jsantd 的内容管理框架。(Manage front inspired by ant-design-pro)


功能

  • 角色权限:通过角色划分权限,每个管理员可分配不同角色
  • 多站点:支持多站点管理,每个站点数据不同,可实现网站内容多语言
  • 主题模板:支持多主题切换,模板渲染引擎基于 (nunjucks),扩展标签库,能够在模板内直接获取模型的数据
  • 栏目导航:支持无限分级的栏目/导航
  • 动态内容管理:直接在后台配置模型与表单,将栏目/表单绑定至模型,可动态得管理模型数据
  • 插件扩展:动态加载插件机制,可插件扩展,丰富CMS功能。→ 查看插件列表

使用文档

快速上手

  • clone本项目
$ git clone https://github.com/rojer95/cocacms.git
  • 安装依赖
$ cd cocacms/web
$ yarn install
  • 修改配置

web/config/jwt目录下生成RSA私钥与公钥 修改web/config/config.default.js的mysql配置

  • 导入sql文件
  • 分别启动服务端与后台前端项目
$ cd cocacms/web
$ yarn debug
  • 开始使用

后台:http://localhost:7001/admin
账户:[email protected]
密码 admin123456

TODO

  • 扩展模板标签

  • 广告模块

  • 操作日志

  • 数据库定时备份

  • 优化后台-模型选项的操作

  • 自定义表单导出功能

  • 优化角色权限列表UI

  • 插件机制

    • 插件加载机制
    • 插件安装卸载机制
    • 插件hook
    • 插件hook模板渲染
  • 完善hook机制

  • 完善文档

    • 目录结构说明
    • 模板相关说明
      • 创建主题
      • 模板标签使用说明
      • 内置数据
      • 扩展模板标签
      • 语言包
    • 插件开发文档
  • 模板Demo

更新日志

本项目遵从 Angular Style Commit Message Conventions,更新日志由 conventional-changelog 自动生成。完整日志请点击 CHANGELOG.md

wxxcx's People

Contributors

rojer95 avatar

Watchers

 avatar

Forkers

mio-next

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.