<p align="center">
<a href="https://github.com/geekidea/spring-boot-plus">
<img alt="spring-boot-plus logo" src="https://springboot.plus/img/logo.png">
</a>
</p>
<p align="center">
Everyone can develop projects independently, quickly and efficiently!
</p>
<p align="center">
<a href="https://github.com/geekidea/spring-boot-plus/">
<img alt="spring-boot-plus version" src="https://img.shields.io/badge/spring--boot--plus-1.4.0-blue">
</a>
<a href="https://github.com/spring-projects/spring-boot">
<img alt="spring boot version" src="https://img.shields.io/badge/spring%20boot-2.2.0.RELEASE-brightgreen">
</a>
<a href="https://www.apache.org/licenses/LICENSE-2.0">
<img alt="code style" src="https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square">
</a>
</p>
## What is spring-boot-plus?
### A **easy-to-use**, **high-speed**, **high-efficient**, **feature-rich**, **open source** spring boot scaffolding.
> spring-boot-plus is a background rapid development framework that integrates spring boot common development components.
> Front-end and back-end separation, focusing on back-end services
## Purpose
> Everyone can develop projects independently, quickly and efficiently!
## Repository
#### [GITHUB](https://github.com/geekidea/spring-boot-plus) | [GITEE](https://gitee.com/geekidea/spring-boot-plus)
## Website
#### [springboot.plus](http://springboot.plus)
## Features
- Integrated spring boot common development component set, common configuration, AOP log, etc
- Integrated mybatis-plus fast dao operation
- Quickly generate background code:entity/param/vo/controller/service/mapper/xml
- Integrated swagger2, automatic generation of api documents
- Integrated JWT,Shiro/Spring security permission control
- Integrated Redis、spring cache、ehcache,etc
- Integrated Rabbit/Rocket/Kafka MQ
- Integration HikariCP connection pool, A solid, high-performance, JDBC connection pool at last.
- Integrated Spring Boot Admin, real-time detection of project operation
- Integrate maven-assembly-plugin for different environment package deployment, including startup and restart commands, and extract configuration files to external config directory
## Architecture
![spring-boot-plus-architecture.jpg](https://springboot.plus/img/spring-boot-plus-architecture.jpg)
### Project Environment
Middleware | Version | Remark
-|-|-
JDK | 1.8+ | JDK1.8 and above |
MySQL | 5.7+ | 5.7 and above |
Redis | 3.2+ | |
### Technology stack
Component| Version | Remark
-|-|-
Spring Boot | 2.2.0.RELEASE | Latest release stable version |
Spring Framework | 5.2.0.RELEASE | Latest release stable version |
Mybatis | 3.5.2 | DAO Framework |
Mybatis Plus | 3.2.0 | mybatis Enhanced framework |
Alibaba Druid | 1.1.20 | Data source |
Fastjson | 1.2.62 | JSON processing toolset |
swagger2 | 2.6.1 | Api document generation tool |
commons-lang3 | 3.9 | Apache language toolkit |
commons-io | 2.6 | Apache IO Toolkit |
commons-codec | 1.13 | Apache Toolkit such as encryption and decryption |
commons-collections4 | 4.4 | Apache collections toolkit |
reflections | 0.9.11 | Reflection Toolkit |
hibernate-validator | 6.0.17.Final | Validator toolkit |
Shiro | 1.4.1 | Permission control |
JWT | 3.8.3 | JSON WEB TOKEN |
hutool-all | 5.0.3 | Common toolset |
lombok | 1.18.10 | Automatically plugs |
mapstruct | 1.3.1.Final | Object property replication tool |
## CHANGELOG
#### [CHANGELOG.md](https://github.com/geekidea/spring-boot-plus/blob/master/CHANGELOG.md)
## Java Docs
#### [Java Api Docs](http://geekidea.io/spring-boot-plus-apidocs/)
## Getting started
### Clone spring-boot-plus
```bash
git clone -b 1.5 https://github.com/geekidea/spring-boot-plus.git
cd spring-boot-plus
```
### Maven Build
> Local environment is used by default, The configuration file:application-local.yml
```bash
mvn clean package -Pdev
```
## 5 Minutes Finish CRUD
### 1. Create Table
```sql
-- ----------------------------
-- Table structure for foo_bar
-- ----------------------------
DROP TABLE IF EXISTS `foo_bar`;
CREATE TABLE `foo_bar`
(
`id` bigint(20) NOT NULL COMMENT 'ID',
`name` varchar(20) NOT NULL COMMENT 'Name',
`foo` varchar(20) DEFAULT NULL COMMENT 'Foo',
`bar` varchar(20) NOT NULL COMMENT 'Bar',
`remark` varchar(200) DEFAULT NULL COMMENT 'Remark',
`state` int(11) NOT NULL DEFAULT '1' COMMENT 'State,0:Disable,1:Enable',
`version` int(11) NOT NULL DEFAULT '0' COMMENT 'Version',
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Create Time',
`update_time` timestamp NULL DEFAULT NULL COMMENT 'Update Time',
PRIMARY KEY (`id`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_general_ci COMMENT ='FooBar';
-- ----------------------------
-- Records of foo_bar
-- ----------------------------
INSERT INTO foo_bar (id, name, foo, bar, remark, state, version, create_time, update_time)
VALUES (1, 'FooBar', 'foo', 'bar', 'remark...', 1, 0, '2019-11-01 14:05:14', null);
INSERT INTO foo_bar (id, name, foo, bar, remark, state, version, create_time, update_time)
VALUES (2, 'HelloWorld', 'hello', 'world', null, 1, 0, '2019-11-01 14:05:14', null);
```
### 2. Generator CRUD CODE
> Modify database info
> Modify module name / author / table name / primary key id
```text
/src/test/java/io/geekidea/springbootplus/test/SpringBootPlusGenerator.java
```
```java
/**
* spring-boot-plus Code Generator
*
* @author geekidea
* @date 2019-10-22
**/
public class SpringBootPlusGenerator {
public static void main(String[] args) {
CodeGenerator codeGenerator = new CodeGenerator();
// Common configuration
// Database configuration
codeGenerator
.setUserName("root")
.setPassword("root")
.setDriverName("com.mysql.jdbc.Driver")
.setDriverUrl("jdbc:mysql://localhost:3306/spring_boot_plus?useUnicode=true&characterEncoding=UTF-8&useSSL=false");
// Configuration package information
codeGenerator
.setProjectPackagePath("io/geekidea/springbootplus")
.setParentPackage("io.geekidea.springbootplus");
// Configuration of component author, etc.
codeGenerator
.setModuleName("foobar")
.setAuthor("geekidea")
.setPkIdColumnName("id");
// Generation strategy
codeGenerator
.setGeneratorStrategy(CodeGenerator.GeneratorStrategy.ALL)
.setPageListOrder(true)
.setParamValidation(true);
// Customize which files are generated automatically
codeGenerator
.setGeneratorEntity(true)
.setGeneratorPageParam(true)
.setGeneratorQueryVo(true);
// Generate business related codes
codeGenerator
.setGeneratorController(true)
.setGeneratorService(true)
.setGeneratorServiceImpl(true)
.setGeneratorMapper(true)
.setGeneratorMapperXml(true);
// Generated RequiresPermissions Annotation
codeGenerator.setRequiresPermissions(false);
// Overwrite existing file or not
codeGenerator.setFileOverride(true);
// Initialize common variables
codeGenerator.init();
// Table array to be generated
String[] tables = {
"foo_bar"
};
// Cycle generation
for (String table : tables) {
// Set the name of the table to be generated
codeGenerator.setTableName(table);
// Generate code
codeGenerator.generator();
}
}
}
```
> Generated code structure
```text
/src/main/java/io/geekidea/springbootplus/foobar
```
```text
└── foobar
├── controller
│
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
(基于android的毕业设计)教师办公App(源码+部署说明+演示视频) 【项目技术】 android+java 【实现功能】 主要设计有以下模块和功能: 1.用户注册和登陆:用户可以通过注册获取权限并登陆App,其中区别家长用户和老师两种对象权限,对应不同的登陆界面及操作权限; 2.消息模块:可以查看历史的消息对象和消息记录,并可跳转至对话界面; 3.班级模块:对于老师,可以看到班级信息和学生列表,学生列表可以浏览所有学生信息;家长则无这一权限功能; 4.好友模块:支持通过用户名添加好友,并支持好友搜索; 5.个人中心模块:按照用户权限分为老师和家长。可以查看个人信息、个人信息并修改等。
资源推荐
资源详情
资源评论
收起资源包目录
(基于android的毕业设计)教师办公App(源码+部署说明+演示视频) (1302个子文件)
$PRODUCT_WORKSPACE_FILE$ 489B
AndroidProject_v1.0_release_0302.apk 5.03MB
gradlew.bat 2KB
startup.bat 988B
executionHistory.bin 7.88MB
jarAnalysis.bin 2.08MB
classAnalysis.bin 1.58MB
fileHashes.bin 707KB
outputFiles.bin 160KB
taskHistory.bin 101KB
resourceHashesCache.bin 28KB
last-build.bin 1B
.gitignore 311B
.gitignore 112B
build.gradle 7KB
build.gradle 2KB
proguard.gradle 1KB
build.gradle 1KB
config.gradle 968B
build.gradle 189B
build.gradle 176B
settings.gradle 68B
build.gradle 67B
gradlew 5KB
verifyCode.html 2KB
welcome.html 1KB
springbootplus.html 863B
favicon.ico 1KB
spring-boot-plus.iml 20KB
AndroidProject.app.iml 12KB
AndroidProject.umeng.iml 7KB
AndroidProject.widget.iml 7KB
AndroidProject.base.iml 7KB
AndroidProject.iml 1KB
umeng-share-core-6.9.8.jar 276KB
umeng-share-QQ-simplify-6.9.8.jar 78KB
gradle-wrapper.jar 52KB
umeng-share-wechat-simplify-6.9.8.jar 30KB
BaseDialog.java 41KB
BasePopupWindow.java 28KB
PlayerView.java 25KB
ProgressView.java 23KB
DialogActivity.java 22KB
AddressDialog.java 20KB
SwitchButton.java 19KB
VideoSelectActivity.java 18KB
WrapRecyclerView.java 15KB
CodeGenerator.java 15KB
ImageSelectActivity.java 15KB
AbstractLogAspect.java 15KB
BrowserView.java 14KB
BaseAdapter.java 14KB
LoginParentActivity.java 13KB
LoginActivity.java 13KB
AddForumActivity.java 12KB
ArrowDrawable.java 12KB
SettingBar.java 12KB
CrashActivity.java 12KB
LoginServiceImpl.java 12KB
ShiroConfig.java 11KB
UpdateZjActivity.java 11KB
SysUserServiceImpl.java 10KB
SysRoleServiceImpl.java 10KB
DateDialog.java 10KB
NineGridViewNew.java 9KB
GlideEngine.java 9KB
AddPhotoActivity.java 9KB
AddZjActivity.java 9KB
TimeDialog.java 9KB
PickerLayoutManager.java 9KB
SysPermissionServiceImpl.java 9KB
PictureSelectorConfig.java 8KB
UpdateDialog.java 8KB
SysPermissionController.java 8KB
FindFragment.java 8KB
LoginRedisServiceImpl.java 8KB
InputTextHelper.java 8KB
PayPasswordDialog.java 8KB
RequestHandler.java 8KB
ChatDetaiListActivity.java 8KB
ChatDetaiParentListActivity.java 8KB
AddPetBaseActivity.java 8KB
SelectDialog.java 7KB
MenuDialog.java 7KB
ZjListActivity.java 7KB
JwtFilter.java 7KB
PhotoListActivity.java 7KB
SettingActivity.java 7KB
DailyListActivity.java 7KB
MeFragment.java 7KB
RegisterActivity.java 7KB
ZjAuditListActivity.java 7KB
AddYmActivity.java 6KB
GlobalExceptionHandler.java 6KB
ClassFragment.java 6KB
UpdateDailyActivity.java 6KB
RegexEditText.java 6KB
MyApplication.java 6KB
ForumUserListActivity.java 6KB
JwtUtil.java 6KB
共 1302 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
岛上程序猿
- 粉丝: 2433
- 资源: 4154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功