<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
没有合适的资源?快使用搜索试试~ 我知道了~
宠物管理-基于android的宠物管理设计与实现
共1165个文件
xml:524个
java:513个
png:15个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 80 浏览量
2024-04-26
16:42:17
上传
评论
收藏 3.75MB RAR 举报
温馨提示
后台springBoot架构 前端 android
资源推荐
资源详情
资源评论
收起资源包目录
宠物管理-基于android的宠物管理设计与实现 (1165个子文件)
$PRODUCT_WORKSPACE_FILE$ 489B
gradlew.bat 2KB
startup.bat 1012B
executionHistory.bin 2.51MB
classAnalysis.bin 605KB
jarAnalysis.bin 421KB
fileHashes.bin 224KB
outputFiles.bin 98KB
taskHistory.bin 62KB
resourceHashesCache.bin 22KB
last-build.bin 1B
.gitignore 347B
.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 890B
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
AbstractLogAspect.java 16KB
WrapRecyclerView.java 15KB
CodeGenerator.java 15KB
ImageSelectActivity.java 15KB
BrowserView.java 14KB
LoginActivity.java 14KB
BaseAdapter.java 14KB
AddForumActivity.java 12KB
ArrowDrawable.java 12KB
SettingBar.java 12KB
CrashActivity.java 12KB
LoginServiceImpl.java 12KB
ShiroConfig.java 12KB
UpdateZjActivity.java 11KB
SysUserServiceImpl.java 10KB
SysRoleServiceImpl.java 10KB
DateDialog.java 10KB
NineGridViewNew.java 9KB
GlideEngine.java 9KB
AddPhotoActivity.java 9KB
SysPermissionServiceImpl.java 9KB
AddZjActivity.java 9KB
TimeDialog.java 9KB
PickerLayoutManager.java 9KB
PictureSelectorConfig.java 8KB
SysPermissionController.java 8KB
UpdateDialog.java 8KB
FindFragment.java 8KB
InputTextHelper.java 8KB
PayPasswordDialog.java 8KB
RequestHandler.java 8KB
AddPetBaseActivity.java 8KB
LoginRedisServiceImpl.java 8KB
SelectDialog.java 7KB
JwtFilter.java 7KB
MenuDialog.java 7KB
ZjListActivity.java 7KB
PhotoListActivity.java 7KB
SettingActivity.java 7KB
DailyListActivity.java 7KB
RegisterActivity.java 7KB
ZjAuditListActivity.java 7KB
GlobalExceptionHandler.java 7KB
AddYmActivity.java 6KB
UpdateDailyActivity.java 6KB
RegexEditText.java 6KB
JwtUtil.java 6KB
DownloadUtil.java 6KB
MyApplication.java 6KB
MeFragment.java 6KB
ForumUserListActivity.java 6KB
UploadController.java 6KB
AddJlActivity.java 6KB
AddDailyActivity.java 6KB
SysUserController.java 6KB
共 1165 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
code.song
- 粉丝: 389
- 资源: 917
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功