# springboot-sever-demo **Repository Path**: yanbinjia/springboot-sever-demo ## Basic Information - **Project Name**: springboot-sever-demo - **Description**: springboot-sever-demo - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-12-05 - **Last Updated**: 2024-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-sever-demo Web server application demo with springboot and some common functions. It is a simple work,just put the pieces together for developing faster and personal study. (Main version: Spring Boot 2.2.8, JDK 1.8) ## 工程结构 - bean: entity,vo,dto等java bean - common: 工具,异常,常量,interceptor,listener等 - config: spring web config 和一些应用配置 - dao: 数据访问层相关实现 - manager: 通用业务处理层: 三方封装、Service通用能力下沉、组合dao操作 - service: 具体业务逻辑服务 - web: Controller ## 集成功能 - [logback](http://logback.qos.ch/) - [mybatis-3](https://mybatis.org/mybatis-3/) - [tk.mybatis Mapper](https://github.com/abel533/Mapper ) - [Mybatis-PageHelper](https://github.com/pagehelper/Mybatis-PageHelper) - [druid 连接池](https://github.com/alibaba/druid) - [caffeine cache](https://github.com/ben-manes/caffeine) - spring schedule, quartz - Java template engine:Thymeleaf - token签发和验证(access&refresh), HandlerInterceptorAdapter和jwt实现 - 接口参数签名和验证(md5/sha256), HandlerInterceptorAdapter实现 - XSS(Cross Site Scripting) filter, simple implement - 异常处理和日志打印(error log), Controller请求和响应日志打印(access log), @ControllerAdvice实现 - RateLimitAspect, 基于guava RateLimiter接口限流,Controller方法注解 @RateLimit(qps = 50) - 工具封装:SpringUtil、HashUtil、RandomUtil、DateUtil、Base64Util、ImageUtil、RedisUtil等 - 好用工具:guava、commons-lang3、commons-io、commons-collections4、commons-codec、jsoup、lombok - 图片验证码(utils.captcha with [EasyCaptcha](https://github.com/whvcse/EasyCaptcha)) - 二维码生成(utils.qrcode with [ZXing](https://github.com/zxing/zxing))