Code Monkey home page Code Monkey logo

go-cms's Introduction

基于RBAC的权限管理系统

项目介绍

基于RBAC的权限管理系统,使用Go + Gin框架,Mysql作为数据库,前端采用 React + Antd 实现。支持国际化,主题色切换,权限控制,菜单管理,用户管理,角色管理,数据字典管理,日志管理,系统监控,代码生成器,接口文档等功能。

项目运行后端

  1. 克隆项目到本地

    https://github.com/Xi-Yuer/GO-CMS.git
    
  2. 安装依赖

      cd server
      go mod tidy
    
  3. 修改运行项目设置环境变量 server/config/config.go

      {
        NAME:     "root",  // 数据库用户名
        PASSWORD: "xxxxxx", // 密码
        HOST:     "localhost", // 主机地址
        DB:       "cms", // 数据库名称
        PORT:     "3306", // 端口
      }
    
  4. 创建MySQL运行环境

    1. 创建一个名为 cms 的数据库, 执行SQL文件(位置:server/sql/cms_widthData.sql)
  5. 运行项目

      go run server/main.go
    

项目运行前端

  1. 克隆项目到本地

    https://github.com/Xi-Yuer/GO-CMS.git
    
  2. 安装依赖

      cd web
      pnpm install
    
  3. 运行项目

      pnpm run dev
    

项目部分截图

登录

首页

系统管理

go-cms's People

Contributors

xi-yuer avatar

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.