padipata / springboot-scaffold

springboot 2.x 开发脚手架

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

运行项目

  • 克隆源代码到本地,使用IDEA打开,并完成编译;
  • 在mysql中新建db数据库,导入根目录下的db.sql文件;
  • 启动项目:直接运行com.yipage.root.SpringBootRun的main方法即可,
  • 接口文档地址:http://localhost:8080/swagger-ui.html

Docker & Kubernetes 部署

详细文档

技术选型

技术 说明 官网
Spring Boot 容器+MVC框架 https://spring.io/projects/spring-boot
Spring Security 认证和授权框架 https://spring.io/projects/spring-security
MyBatis ORM框架 http://www.mybatis.org/mybatis-3/zh/index.html
MyBatisGenerator 数据层代码生成 http://www.mybatis.org/generator/index.html
PageHelper MyBatis物理分页插件 http://git.oschina.net/free/Mybatis_PageHelper
Swagger-UI 文档生产工具 https://github.com/swagger-api/swagger-ui
Redis 分布式缓存 https://redis.io/
Druid 数据库连接池 https://github.com/alibaba/druid
JWT JWT登录支持 https://github.com/jwtk/jjwt
Lombok 简化对象封装工具 https://github.com/rzwitserloot/lombok

开发环境

工具 版本号 下载
JDK 1.8 https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Mysql 5.7 https://www.mysql.com/
Redis 3.2 https://redis.io/download
Nginx 1.10 http://nginx.org/en/download.html

About

springboot 2.x 开发脚手架


Languages

Language:Java 92.8%Language:TSQL 7.0%Language:Dockerfile 0.2%