Giter Site home page Giter Site logo

springboot-restful-starter's Introduction

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

springboot-restful-starter's People

Contributors

lmarklil avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.