<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
│
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
管理员: 1、查看房东信息,客户的信息; 2、删除房东,客户信息; 3、浏览房东发布的房屋信息; 4、删除不合理的房屋信息; 5、发布修改删除行业政策。 房东: 1、注册用户信息并登录,能够修改自己的信息; 2、发布租房的房屋信息(除了文字描述需要图片); 3、浏览房屋行业政策。 租户分为VIP租户和普通租户; 1、 租户能够浏览发布的能租的房源信息(能够按条件搜索),VIP租户看到房源信息优先自己预约的信息在前。 2、 租户能够修改自己的信息。 3、 VIP租户能够预约自己感兴趣的房源,并且能够收到房源通知。 4、 租户看到心仪的房子后,提交租房申请。 VIP租户条件: 1、交易数量达到一定的值,升级为VIP租户; 2、注册租户的时间达到规定的年数,升级为VIP租户。
资源推荐
资源详情
资源评论
收起资源包目录
基于安卓的的租房app设计与实现 (1419个子文件)
$PRODUCT_WORKSPACE_FILE$ 489B
gradlew.bat 2KB
startup.bat 988B
executionHistory.bin 9.01MB
jarAnalysis.bin 2.83MB
classAnalysis.bin 1.97MB
fileHashes.bin 946KB
outputFiles.bin 167KB
taskHistory.bin 101KB
resourceHashesCache.bin 30KB
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
AddHouseActivity.java 13KB
LoginAdminActivity.java 13KB
LoginFangDongActivity.java 13KB
LoginZuKeActivity.java 13KB
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
ZuKeHouseFragment.java 9KB
GlideEngine.java 9KB
AddPhotoActivity.java 9KB
AddZjActivity.java 9KB
TimeDialog.java 9KB
PickerLayoutManager.java 9KB
SysPermissionServiceImpl.java 9KB
FangDongMeFragment.java 9KB
FangwuListListActivity.java 9KB
PictureSelectorConfig.java 8KB
ZuKeMeFragment.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
FangDongAppointmentListActivity.java 7KB
MenuDialog.java 7KB
FangDongApplyListActivity.java 7KB
RegisterActivity.java 7KB
ZjListActivity.java 7KB
NoticeListActivity.java 7KB
JwtFilter.java 7KB
PhotoListActivity.java 7KB
UserListListActivity.java 7KB
SettingActivity.java 7KB
共 1419 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
code.song
- 粉丝: 982
- 资源: 1108
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功