1 Star 0 Fork 0

StopNo / springboot-restful-starter

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

springboot-restful-starter

SpringBoot RESTful API 脚手架

简介

这是一个基于SpringBoot 2.1.1 RELEASE,用于搭建RESTful API工程的脚手架,只需三分钟你就可以开始编写业务代码,不再烦恼于构建项目与风格统一。

快速开始

  1. 构建数据库
  2. 运行/src/test下的CodeGenerator.java进行代码生成
  3. 开始编写业务代码

快速入门

实践是最好的学习方式,在 2.0 版本中,我编写了一个简单的账号模块供大家参考学习。

建议

如果大家有使用这个项目,建议watch并选择Releases Only以便即时的收到正式的更新

文档

文档内提供了详细的功能说明,强烈建议阅读文档后再开始编码。

更新日志

当前版本:2.0.0 Beta

基本功能

  • 封装了 RESTful 风格的返回结果
  • 全局接管异常,并使用 RESTful 风格返回异常信息
  • 简单封装了 jjwt,提供了一个开箱即用的认证模块
  • @Auth 注解,用注解的方式校验用户信息
  • 集成了常用的库,详见相关依赖
  • 集成了 MybatisPlus

相关依赖

  • SpringBoot
  • MybatisPlus
  • lombok
  • jjwt
  • fastjson
  • druid

捐赠

如果你觉得这个项目很赞且对你有帮助的话,请我喝一杯咖啡呗:) 捐赠二维码

License

MIT

MIT License Copyright (c) 2018 Li Jinhui 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.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/stopno/springboot-restful-starter.git
git@gitee.com:stopno/springboot-restful-starter.git
stopno
springboot-restful-starter
springboot-restful-starter
master

搜索帮助