# cache-demo **Repository Path**: winkxiao/cache-demo ## Basic Information - **Project Name**: cache-demo - **Description**: spring boot 整合 redis及使用cache的学习demo - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## springboot缓存demo 该项目整合mybatis plus,jpa,redis,spring boot cache的简易框架,适合学习参考。 包含redis发布订阅、RedisTemplate的配置、cache配置及mybatis plus配置等。 ### 技术选型 * redis:缓存 * spring-data-JPA:自动创建表 * spring-boot-starter-cache:spring boot缓存框架 * mybatis-plus:CURD * druid:数据库连接池 * Mysql:数据库 * lombok:简化模板代码 ### 快速开始 1. 修改application.yml中的mysql、redis连接IP、密码 2. idea中启动'CacheDemoApplication'即可;会自动创建表,DB ### 参考的项目 redis配置部分代码 > https://gitee.com/log4j/pig