1 Star 0 Fork 0

joe_fu / currahee-back-end

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

CURRAHEE-BACK-END

概述

一个 Java 管理系统后端项目,基于 Maven 多模块构建,使用 Spring Boot 开发,采用 RESTful API 形式提供服务,引入 Spring Security 认证授权安全机制。封装了单表增删改查(CRUD)的通用代码,以及一套用户、角色、权限等业务逻辑的系统功能模块。

技术栈

  • Spring Boot
  • Spring MVC
  • Spring Security
  • MyBatis
  • MySQL
  • Maven
  • YAML
  • Logback

项目结构

模块 功能 说明
currahee-app 启动模块 包含Spring Boot启动文件,项目各配置文件置于此。
currahee-business 业务逻辑模块 包含一个单表Demo及上传图片示例。
currahee-common 通用代码模块 包含审计、日志操作的Aspect以及工具类。
currahee-core 核心模块 提供了一套CRUD操作的基类以及统一异常处理类。
currahee-security 安全机制模块 提供了一套基于用户-角色-权限的身份认证及访问授权机制。
currahee-sys 系统功能模块 包含用户、角色、权限、菜单、应用接口、数据字典。

权限管理机制

通过整合 Spring Security + JWT 实现基于 RBAC 模型(Role-Based Access Control)的身份验证 + 权限控制机制。
用户、角色、权限配置等信息通过数据库进行管理。
其中,角色分别对应菜单权限API权限,实现“接口”粒度的动态权限控制。

数据库约定

所有表均包含以下字段

字段 列名 类型 注释
主键 id char(36) UUID
审计 created_by char(36) 创建者
审计 created_time datetime 创建时间
审计 last_modified_by char(36) 修改者
审计 last_modified_time datetime 修改时间

相关资料

配套前端项目 (currahee-front-end)
数据库脚本

What does "CURRAHEE" mean ?

Stand Alone.
by BAND OF BROTHERS

MIT License Copyright (c) 2021 joe_fu 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.

简介

One CRUD System based on Maven + Spring Boot + MySQL 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/joe_fu/currahee-back-end.git
git@gitee.com:joe_fu/currahee-back-end.git
joe_fu
currahee-back-end
currahee-back-end
master

搜索帮助