1 Star 0 Fork 0

刘军委 / admin_sys

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Easy-RESTful

基于SpringBoot2、Druid、Mybatis Plus、Apache Shiro、Activiti、Beetl、HuTool、Quartz等开源框架开发,内置权限、部门、参数、字典、定时任务、代码生成等模块。
建议与 Easy-RESTful-UI 前端开源项目一起使用

文档

文档: http://rest-doc.easy-frame.top/back-end/

下载

从 码云 仓库中直接安装最新的代码

$ git clone --depth=1 https://gitee.com/tcc/Easy-RESTful.git Easy-RESTful

目录结构

├── db                   # Sql脚本
├── easy-activiti        # 工作流
├── easy-api             # 入口
├── easy-common          # 工具
│   ├── easy-core        # 基础
│   ├── easy-mybatis     # MyBatis
│   └── easy-redis       # Redis
├── easy-file            # 文件
├── easy-generator       # 代码生成
├── easy-sample          # 示例
├── easy-scheduler       # 定时任务
└── easy-sys             # 系统

创建数据库

创建数据库并执行/easy-restful/db/easy-restful.sql初始化表

配置数据源&Redis

打开/easy-restful/easy-api/src/main/resources/application-dev.yml文件,修改Redis数据源配置。 如果你使用默认的参数安装的RedisMySQL只需修改spring.datasource.password即可。

spring:
  # Redis
  redis:
    # 数据库索引(默认为0)
    database: 0
    # 服务器地址
    host: 127.0.0.1
    # 服务器连接端口
    port: 6379
    # 服务器连接密码(默认为空)
    password:
  # 数据源
  datasource:
    url: jdbc:mysql://localhost:3306/easy-restful?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true
    username: root
    password: xxx

配置文件存放路径

打开/easy-restful/easy-api/src/main/resources/application-dev.yml文件,修改文件存放路径

project:
  # 文件上传路径(不要写以~开头的路径会导致无法访问)
  file-upload-path: /Users/tengchong/development/easy-restful

此路径会被添加为静态资源映射地址

启动服务

执行com.easy.restful.Application启动服务

MIT License Copyright (c) 2020 tengchong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

通用后台管理系统(后端) 展开 收起
Java 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/liujunwei116/admin_sys.git
git@gitee.com:liujunwei116/admin_sys.git
liujunwei116
admin_sys
admin_sys
master

搜索帮助