77 Star 346 Fork 116

ruyangit / tangdao

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 3.69 KB
一键复制 编辑 原始数据 按行查看 历史
ruyangit 提交于 2021-04-20 20:27 . update README.md.

权限管理系统(Tangdao)

JDK Spring Boot LICENSE

star star

介绍

Tangdao 是基于角色的权限管理系统(RBAC),采用Springboot开发。系统简单易懂,前端使用Vue、Quasarframework开发,页面简洁美观。

组件示例

文档说明

预览:Live

安装教程

后端安装
$ git clone https://gitee.com/ruyangit/tangdao.git
$ cd tangdao
$ mvn install
$ java -jar ./tangdao-web/target/tangdao.jar &
前端安装
$ cd admin
$ npm install
$ npm install @quasar/cli -g
$ quasar build

开发运行
$ quasar dev

开发工具设置(vs code)

setting.json shift+ctrl+p

{
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
        "source.fixAll": true
    },
    "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
    "javascript.format.placeOpenBraceOnNewLineForControlBlocks": false,
    "javascript.format.placeOpenBraceOnNewLineForFunctions": false,
    "typescript.format.insertSpaceBeforeFunctionParenthesis": true,
    "typescript.format.placeOpenBraceOnNewLineForControlBlocks": false,
    "typescript.format.placeOpenBraceOnNewLineForFunctions": false,
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatter.js": "vscode-typescript"
}

一个部署案例(nginx)

server {
    listen 80 http2;
    server_name quasar.myapp.com;

    root /home/user/quasar.myapp.com/public;

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Content-Type-Options "nosniff";

    index index.html;

    charset utf-8;

    location / {
        try_files $uri $uri/ /index.html;
    }

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    access_log off;
    error_log  /var/log/nginx/quasar.myapp.com-error.log error;

    location ~ /\.(?!well-known).* {
        deny all;
    }
}

更多自定义配置

See Configuring quasar.conf.js.

References

Plugins Link

版权

Copyright 2020 ruyangit Inc.

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Java
1
https://gitee.com/ruyangit/tangdao.git
git@gitee.com:ruyangit/tangdao.git
ruyangit
tangdao
tangdao
master

搜索帮助