little
开发脚手架,开发过程中,参照了 mall-tiny 和 springblade 这俩个开发脚手架的架构设计,并根据本人业务需要取舍。主要适用于小程序 / H5 应用系统(含后台管理系统)
- 遵循《阿里巴巴 Java开发手册》
API
接口遵循RESTful
little
├── little-admin -- 管理端
├ ├── common -- 常用工具
├ ├── config -- 配置类
├ └── modules -- 业务代码
├ ├── power -- 权限模块
├ ├── system -- 系统模块
├ └── user -- 用户模块
├── little-common -- 常用工具封装包
├── little-mbg -- 代码生成
├ ├── modules -- 生成的 entity、mapper
├ └── MyBatisPlusGenerator -- 代码生成器
├── little-mobile -- 移动端
├ ├── common -- 常用工具
├ ├── config -- 配置类
├ └── modules -- 业务代码
├ ├── system -- 系统模块
├ └── user -- 用户模块
├── little-security -- 权限控制模块
├── little-monitor -- 系统监控(待)
└── little-task -- 定时任务(待)
技术 | 概述 | 版本 |
---|---|---|
Spring Boot | 2.1.7 | |
Mybatis Plus | Mybatis强化增强 | 3.3.2 |
Redis | 缓存服务器 | 5 |
MySQL | 数据库服务器 | 5.7 |
Spring Security | 结合JWT实现鉴权 | 5.1.6 |
Swagger-Bootstrap-UI | 强化Swagger样式的API文档 | 1.9.6 |
Hutool | 各种可能用到的工具类包 | 4.5.7 |
七牛云 | 存储图片/文件 | 7.2.0, 7.2.99 |
阿里云短信 | 短信服务 | 4.1.0 |
- 根据数据表,自动生成
CRUD
代码(包括Swagger注释、Controller、Service等) - 参数校验与全局异常处理。
- 基于角色(
RBAC
)的权限管理,以及前端管理界面。 - Spring Boot 应用监控:详情可看 Spring Boot Admin 实现系统监控
- 定时任务系统(待)