# SpringBoot-Basic **Repository Path**: framework-collection/SpringBoot-Basic ## Basic Information - **Project Name**: SpringBoot-Basic - **Description**: SpringBoot基础框架,整合学习各种中间件 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-21 - **Last Updated**: 2023-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SpringBoot-Basic ![](https://img.shields.io/badge/SpringCloud-2.1.7-green.svg) ![](https://img.shields.io/badge/IDE-IDEA-red) ## 技术栈 组件 | 用途 | 理由 |官网 --- | ---| ---|--- SpringBoot| JavaBean容器| 依赖注入(DI),控制翻转(IoC)| SpringWeb | 网络控制器 | 继承SpringMVC | SpringSecurity | 安全权限框架 | 比Shiro更加灵活 | MyBatis | ORM框架 | 成熟高效灵活 | Gradle | 项目构建工具 | 不接受反驳 | https://gradle.org/ druid | 数据库连接池 | 阿里巴巴出品 | lombok | 代码简介工具 | Getter,链式等| logback | 日志 | 灵活配置,邮箱报警 | ## 框架结构图 ``` hxy.cupb ├── SpringbootBasicApplication --应用入口 ├── controller -- web服务入口 ├── service -- 应用服务层 ├── mapper -- 数据持久层 ├── entity -- 实体类 └── common -- 公共代码 ``` ## SpringCloud 1. Actuator * [SpringBoot2.0 Actuator 监控参数说明](https://www.jianshu.com/p/2a2c332edb78) * [Spring Boot Actuator:健康检查、审计、统计和监控](https://www.jianshu.com/p/d5943e303a1f) 1. Security * [Spring Security身份认证之UserDetailsService](https://blog.csdn.net/linhaibing009/article/details/85147801) * [SpringBoot Controller接收参数的几种常用方式](./SpringBoot Controller接收参数的几种常用方式.md) ## 编码技巧 1. DTO 1. 面向接口编程 1. GitFlow开发规范