Top Related Projects
Spring Boot
spring boot 实 践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。
about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。
《Spring Boot基础教程》,2.x版本持续连载中!点击下方链接直达教程目录!
🔥「企业级低代码平台」前后端分离架构SpringBoot 2.x/3.x,SpringCloud,Ant Design&Vue3,Mybatis,Shiro,JWT。强大的代码生成器让前后端代码一键生成,无需写任何代码! 引领新的开发模式OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Quick Overview
Spring Boot Demo is a comprehensive collection of examples and best practices for building applications with Spring Boot. It covers a wide range of topics, from basic setup to advanced features, making it an excellent resource for developers looking to learn or improve their skills with Spring Boot.
Pros
- Extensive coverage of Spring Boot features and integrations
- Well-organized project structure with clear examples for each topic
- Regularly updated to include the latest Spring Boot versions and features
- Includes both basic and advanced topics, catering to developers of all skill levels
Cons
- Large repository size may be overwhelming for beginners
- Some examples may lack detailed explanations or comments
- Not all examples are available in multiple languages (primarily in Chinese)
- Some advanced topics might require additional background knowledge
Code Examples
- Basic Spring Boot application setup:
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}
- RESTful API endpoint example:
@RestController
@RequestMapping("/api")
public class UserController {
@GetMapping("/users")
public List<User> getAllUsers() {
// Implementation to fetch and return users
}
}
- Database integration with Spring Data JPA:
@Entity
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
private String email;
// Getters and setters
}
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
List<User> findByName(String name);
}
Getting Started
To get started with Spring Boot Demo:
-
Clone the repository:
git clone https://github.com/xkcoding/spring-boot-demo.git
-
Navigate to the desired example directory:
cd spring-boot-demo/demo-helloworld
-
Run the application using Maven:
mvn spring-boot:run
-
Access the application in your web browser or API client, typically at
http://localhost:8080
For more detailed instructions and specific examples, refer to the README files in each subdirectory of the project.
Competitor Comparisons
Spring Boot
Pros of Spring Boot
- Official Spring Boot repository with extensive documentation and community support
- Regularly updated with new features, bug fixes, and security patches
- Comprehensive test coverage and production-ready code
Cons of Spring Boot
- Larger codebase, which may be overwhelming for beginners
- Focuses on core functionality rather than specific use cases or examples
- Steeper learning curve for those new to Spring ecosystem
Code Comparison
Spring Boot (core functionality):
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
Spring Boot Demo (example implementation):
@SpringBootApplication
@RestController
public class DemoApplication {
@GetMapping("/hello")
public String hello() {
return "Hello, Spring Boot!";
}
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}
Summary
Spring Boot is the official repository, offering a robust and well-maintained framework for building Spring applications. It provides extensive documentation and regular updates but may be challenging for beginners due to its comprehensive nature.
Spring Boot Demo, on the other hand, focuses on providing practical examples and use cases, making it easier for developers to understand and implement specific features. However, it may not cover all aspects of Spring Boot or receive updates as frequently as the official repository.
spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。
Pros of springboot-learning-example
- More comprehensive coverage of Spring Boot features, including advanced topics
- Better organized structure with clear categorization of examples
- Includes detailed explanations and comments in Chinese, beneficial for Chinese-speaking developers
Cons of springboot-learning-example
- Less frequently updated compared to spring-boot-demo
- Fewer integration examples with popular third-party libraries
- Some examples may be outdated due to the project's age
Code Comparison
spring-boot-demo:
@SpringBootApplication
@MapperScan(basePackages = {"com.xkcoding.mybatis.mapper"})
public class MybatisApplication {
public static void main(String[] args) {
SpringApplication.run(MybatisApplication.class, args);
}
}
springboot-learning-example:
@SpringBootApplication
@MapperScan("com.didispace.mybatis.mapper")
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
Both examples demonstrate similar basic setup for a Spring Boot application with MyBatis integration. The main difference lies in the package structure and naming conventions used in each project.
about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。
Pros of spring-boot-examples
- More comprehensive coverage of Spring Boot features and integrations
- Better organized structure with clear categorization of examples
- Includes examples for Spring Cloud and microservices architecture
Cons of spring-boot-examples
- Less frequent updates compared to spring-boot-demo
- Some examples may be outdated or not compatible with the latest Spring Boot version
- Lacks some modern features and integrations present in spring-boot-demo
Code Comparison
spring-boot-examples:
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
spring-boot-demo:
@SpringBootApplication
@EnableScheduling
public class SpringBootDemoTaskApplication {
public static void main(String[] args) {
SpringApplication.run(SpringBootDemoTaskApplication.class, args);
}
}
The code comparison shows that spring-boot-demo includes additional annotations and configurations, such as @EnableScheduling
, which demonstrates its focus on more specific use cases and advanced features.
Both repositories serve as valuable resources for learning Spring Boot, with spring-boot-examples offering a broader range of examples and spring-boot-demo providing more up-to-date and specialized implementations.
《Spring Boot基础教程》,2.x版本持续连载中!点击下方链接直达教程目录!
Pros of SpringBoot-Learning
- More comprehensive coverage of Spring Boot topics, including advanced concepts
- Better organized structure with clear categorization of examples
- Regularly updated with new Spring Boot features and best practices
Cons of SpringBoot-Learning
- Less focus on practical, real-world application scenarios
- Fewer integration examples with third-party libraries and tools
- May be overwhelming for beginners due to its extensive content
Code Comparison
SpringBoot-Learning:
@SpringBootApplication
@EnableScheduling
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
spring-boot-demo:
@SpringBootApplication
@MapperScan(basePackages = "com.xkcoding.mybatis.mapper")
public class MybatisApplication {
public static void main(String[] args) {
SpringApplication.run(MybatisApplication.class, args);
}
}
The code comparison shows that SpringBoot-Learning focuses on core Spring Boot features like scheduling, while spring-boot-demo demonstrates integration with specific technologies like MyBatis.
Both repositories offer valuable resources for learning Spring Boot, with SpringBoot-Learning providing a more comprehensive guide and spring-boot-demo offering more practical, focused examples. The choice between them depends on the learner's experience level and specific learning goals.
🔥「企业级低代码平台」前后端分离架构SpringBoot 2.x/3.x,SpringCloud,Ant Design&Vue3,Mybatis,Shiro,JWT。强大的代码生成 器让前后端代码一键生成,无需写任何代码! 引领新的开发模式OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
Pros of JeecgBoot
- More comprehensive enterprise-level solution with built-in low-code platform
- Extensive documentation and active community support
- Includes advanced features like code generation and workflow management
Cons of JeecgBoot
- Steeper learning curve due to its complexity
- May be overkill for smaller projects or simple applications
- Less flexibility for customization compared to a bare-bones Spring Boot setup
Code Comparison
JeecgBoot (using its code generation feature):
@RestController
@RequestMapping("/demo")
@Slf4j
public class DemoController {
@Autowired
private IDemoService demoService;
@GetMapping(value = "/list")
public Result<?> list(DemoEntity demo, @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, @RequestParam(name="pageSize", defaultValue="10") Integer pageSize) {
return Result.OK(demoService.list(demo, pageNo, pageSize));
}
}
spring-boot-demo (basic REST controller):
@RestController
@RequestMapping("/api")
public class DemoController {
@GetMapping("/hello")
public String hello(@RequestParam(value = "name", defaultValue = "World") String name) {
return String.format("Hello, %s!", name);
}
}
JeecgBoot offers more out-of-the-box functionality, while spring-boot-demo provides a simpler starting point for custom development.
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统 包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Pros of mall
- More comprehensive e-commerce solution with frontend and backend components
- Includes advanced features like Redis caching and Elasticsearch integration
- Offers detailed documentation and deployment guides
Cons of mall
- Higher complexity and steeper learning curve
- May be overkill for simpler projects or learning purposes
- Requires more resources to run and maintain
Code Comparison
mall (PmsProductController.java):
@ApiOperation("Create product")
@RequestMapping(value = "/create", method = RequestMethod.POST)
@ResponseBody
public CommonResult create(@RequestBody PmsProductParam productParam) {
int count = productService.create(productParam);
if (count > 0) {
return CommonResult.success(count);
} else {
return CommonResult.failed();
}
}
spring-boot-demo (UserController.java):
@PostMapping("/user")
public ResponseEntity<User> createUser(@RequestBody User user) {
User savedUser = userRepository.save(user);
return ResponseEntity.ok(savedUser);
}
The mall project demonstrates a more structured approach with API documentation and custom result handling, while spring-boot-demo showcases a simpler, more straightforward implementation.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Spring Boot Demo
ä¸æ | English
项ç®ç®ä»
spring boot demo
æ¯ä¸ä¸ªç¨æ¥æ·±åº¦å¦ä¹ 并å®æ spring boot
ç项ç®ï¼ç®åæ»å
±å
å« 66
个éædemoï¼å·²ç»å®æ 55
个ã
该项ç®å·²æåéæ actuator(çæ§
)ãadmin(å¯è§åçæ§
)ãlogback(æ¥å¿
)ãaopLog(éè¿AOPè®°å½web请æ±æ¥å¿
)ãç»ä¸å¼å¸¸å¤ç(json级å«å页é¢çº§å«
)ãfreemarker(模æ¿å¼æ
)ãthymeleaf(模æ¿å¼æ
)ãBeetl(模æ¿å¼æ
)ãEnjoy(模æ¿å¼æ
)ãJdbcTemplate(éç¨JDBCæä½æ°æ®åº
)ãJPA(强大çORMæ¡æ¶
)ãmybatis(强大çORMæ¡æ¶
)ãéç¨Mapper(å¿«éæä½Mybatis
)ãPageHelper(éç¨çMybatiså页æ件
)ãmybatis-plus(å¿«éæä½Mybatis
)ãBeetlSQL(强大çORMæ¡æ¶
)ãupload(æ¬å°æ件ä¸ä¼ åä¸çäºæ件ä¸ä¼
)ãredis(ç¼å
)ãehcache(ç¼å
)ãemail(åéåç§ç±»åé®ä»¶
)ãtask(åºç¡å®æ¶ä»»å¡
)ãquartz(å¨æ管çå®æ¶ä»»å¡
)ãxxl-job(åå¸å¼å®æ¶ä»»å¡
)ãswagger(APIæ¥å£ç®¡çæµè¯
)ãsecurity(åºäºRBACçå¨ææé认è¯
)ãSpringSession(Sessionå
񄧮
)ãZookeeper(ç»åAOPå®ç°åå¸å¼é
)ãRabbitMQ(æ¶æ¯éå
)ãKafka(æ¶æ¯éå
)ãwebsocket(æå¡ç«¯æ¨éçæ§æå¡å¨è¿è¡ä¿¡æ¯
)ãsocket.io(è天室
)ãureport2(ä¸å½å¼æ¥è¡¨
)ãæå
æwar
æ件ãéæ ElasticSearch(åºæ¬æä½åé«çº§æ¥è¯¢
)ãAsync(å¼æ¥ä»»å¡
)ãéæDubbo(éç¨å®æ¹çstarter
)ãMongoDB(ææ¡£æ°æ®åº
)ãneo4j(å¾æ°æ®åº
)ãdocker(容å¨å
)ãJPAå¤æ°æ®æº
ãMybatiså¤æ°æ®æº
ã代ç çæå¨
ãGrayLog(æ¥å¿æ¶é
)ãJustAuth(第ä¸æ¹ç»å½
)ãLDAP(å¢å æ¹æ¥
)ãå¨ææ·»å /åæ¢æ°æ®æº
ãåæºéæµ(AOP + Guava RateLimiter
)ãåå¸å¼éæµ(AOP + Redis + Lua
)ãElasticSearch 7.x(使ç¨å®æ¹ Rest High Level Client
)ãHTTPSãFlyway(æ°æ®åºåå§å
)ãUReport2(ä¸å½å¼å¤ææ¥è¡¨
)ã
å¦æ大家è¿ææ³è¦éæçdemoï¼ä¹å¯å¨ issue éæéæ±ãæä¼é¢å¤æ·»å å¨ TODO å表éãâ
åæ¯ä»ç»
- master åæ¯ï¼åºäº Spring Boot çæ¬
2.1.0.RELEASE
ï¼æ¯ä¸ª Module ç parent ä¾èµæ ¹ç®å½ä¸ç pom.xmlï¼ä¸»è¦ç¨äºç®¡çæ¯ä¸ª Module çéç¨ä¾èµçæ¬ï¼æ¹ä¾¿å¤§å®¶å¦ä¹ ã - v-1.5.x åæ¯ï¼åºäº Spring Boot çæ¬
1.5.8.RELEASE
ï¼æ¯ä¸ª Module åä¾èµ spring-boot-demo-parentï¼ææºå¤åå¦ä»¬åæ è¿ç§æ¹å¼å¯¹æ°æä¸æ¯å¾å好ï¼è¿è¡èµ·æ¥æäºé¾åº¦ï¼å æ¤ æ¤åæ¯(v-1.5.x)ä¼åæ¢å¼åç»´æ¤ ï¼ææå 容ä¼æ ¢æ ¢ä»¥ master åæ¯çå½¢å¼åæ¥è¿å»ï¼æ¤åæ¯ææªå®æçï¼ä¹ä¼ç´æ¥å¨ master åæ¯ä¸å ï¼å¨æ¤åæ¯å¦ä¹ çåå¦ä»¬ï¼ä»ç¶å¯ä»¥å¨æ¤åæ¯å¦ä¹ ï¼ä½æ¯å»ºè®®åæåæ¢å°masteråæ¯ï¼ä¼æ´å 容æï¼æ¯ç«å®æ¹å·²ç»å° Spring Boot åçº§å° 2.x çæ¬ãð
å¼åç¯å¢
- JDK 1.8 +
- Maven 3.5 +
- IntelliJ IDEA ULTIMATE 2018.2 + (注æï¼å¡å¿
ä½¿ç¨ IDEA å¼åï¼åæ¶ä¿è¯å®è£
lombok
æ件) - Mysql 5.7 + (å°½éä¿è¯ä½¿ç¨ 5.7 çæ¬ä»¥ä¸ï¼å 为 5.7 çæ¬å äºä¸äºæ°ç¹æ§ï¼åæ¶ä¸åä¸å ¼å®¹ãæ¬ demo éä¼å°½éé¿å è¿ç§ä¸å ¼å®¹çå°æ¹ï¼ä½è¿æ¯å»ºè®®å°½éä¿è¯ 5.7 çæ¬ä»¥ä¸)
è¿è¡æ¹å¼
æ示ï¼å¦ææ¯ fork çæåï¼åæ¥ä»£ç ç请åèï¼https://xkcoding.com/2018/09/18/how-to-update-the-fork-project.html
git clone https://github.com/xkcoding/spring-boot-demo.git
- ä½¿ç¨ IDEA æå¼ clone ä¸æ¥ç项ç®
- å¨ IDEA ä¸ Maven Projects çé¢æ¿å¯¼å
¥é¡¹ç®æ ¹ç®å½ä¸ ç
pom.xml
æ件 - Maven Projects æ¾ä¸å°çç«¥éï¼å¯ä»¥å¾ä¸ IDEA 顶é¨å·¥å ·æ ç View -> Tool Buttons ï¼ç¶å Maven Projects çé¢æ¿å°±ä¼åºç°å¨ IDEA çå³ä¾§
- æ¾å°å个 Module ç Application 类就å¯ä»¥è¿è¡å个 demo äº
注æï¼æ¯ä¸ª demo åæ详ç»ç README é å¥ï¼é£ç¨ demo åè®°å¾å ççå¦~
注æï¼è¿è¡å个 demo ä¹åï¼æäºæ¯éè¦äºå åå§åæ°æ®åºæ°æ®çï¼äº²ä»¬å«å¿è®°äºå¦~
项ç®è¶å¿
å ¶ä»
å¢é纳æ°
ç»å æ人å¦ï¼HC å·¨å¤ï¼Base æå·ï¼æå ´è¶£çå°ä¼ä¼´ï¼æ¥ç å²ä½è¯¦æ
å¼æºæ¨è
JustAuth
ï¼å²ä¸æå ¨çæ´å第ä¸æ¹ç»å½çå¼æºåºï¼https://github.com/justauth/JustAuthMica
ï¼SpringBoot å¾®æå¡é«æå¼åå·¥å ·éï¼https://github.com/lets-mica/micaawesome-collector
ï¼https://github.com/P-P-X/awesome-collectorSpringBlade
ï¼å®æ´ç线ä¸è§£å³æ¹æ¡(ä¼ä¸å¼åå¿ å¤)ï¼https://github.com/chillzhuang/SpringBladePig
ï¼å®å®æ强微æå¡è®¤è¯ææèææ¶(æ¶æå¸å¿ å¤)ï¼https://github.com/pigxcloud/pig
å¼å计å
æ¥ç TODO æ件
å Module ä»ç»
Module å称 | Module ä»ç» |
---|---|
demo-helloworld | spring-boot çä¸ä¸ª helloworld |
demo-properties | spring-boot 读åé ç½®æ件ä¸çå 容 |
demo-actuator | spring-boot éæ spring-boot-starter-actuator ç¨äºçæ§ spring-boot çå¯å¨åè¿è¡ç¶æ |
demo-admin-client | spring-boot éæ spring-boot-admin æ¥å¯è§åççæ§ spring-boot ç¨åºçè¿è¡ç¶æï¼å¯ä»¥ä¸ actuator äºç¸æé 使ç¨ï¼å®¢æ·ç«¯ç¤ºä¾ |
demo-admin-server | spring-boot éæ spring-boot-admin æ¥å¯è§åççæ§ spring-boot ç¨åºçè¿è¡ç¶æï¼å¯ä»¥ä¸ actuator äºç¸æé 使ç¨ï¼æå¡ç«¯ç¤ºä¾ |
demo-logback | spring-boot éæ logback æ¥å¿ |
demo-log-aop | spring-boot ä½¿ç¨ AOP åé¢çæ¹å¼è®°å½ web 请æ±æ¥å¿ |
demo-exception-handler | spring-boot ç»ä¸å¼å¸¸å¤çï¼å æ¬2ç§ï¼ç¬¬ä¸ç§è¿åç»ä¸ç json æ ¼å¼ï¼ç¬¬äºç§ç»ä¸è·³è½¬å°å¼å¸¸é¡µé¢ |
demo-template-freemarker | spring-boot éæ Freemarker 模æ¿å¼æ |
demo-template-thymeleaf | spring-boot éæ Thymeleaf 模æ¿å¼æ |
demo-template-beetl | spring-boot éæ Beetl 模æ¿å¼æ |
demo-template-enjoy | spring-boot éæ Enjoy 模æ¿å¼æ |
demo-orm-jdbctemplate | spring-boot éæ Jdbc Template æä½æ°æ®åºï¼å¹¶ç®æå°è£ éç¨ Dao å± |
demo-orm-jpa | spring-boot éæ spring-boot-starter-data-jpa æä½æ°æ®åº |
demo-orm-mybatis | spring-boot éæåçmybatisï¼ä½¿ç¨ mybatis-spring-boot-starter éæ |
demo-orm-mybatis-mapper-page | spring-boot éæéç¨MapperåPageHelperï¼ä½¿ç¨ mapper-spring-boot-starter å pagehelper-spring-boot-starter éæ |
demo-orm-mybatis-plus | spring-boot éæ mybatis-plusï¼ä½¿ç¨ mybatis-plus-boot-starter éæï¼éæ BaseMapperãBaseServiceãActiveRecord æä½æ°æ®åº |
demo-orm-beetlsql | spring-boot éæ beetl-sqlï¼ä½¿ç¨ beetl-framework-starter éæ |
demo-upload | spring-boot æ件ä¸ä¼ 示ä¾ï¼å å«æ¬å°æ件ä¸ä¼ 以åä¸çäºæ件ä¸ä¼ |
demo-cache-redis | spring-boot æ´å redisï¼æä½redisä¸çæ°æ®ï¼å¹¶ä½¿ç¨redisç¼åæ°æ® |
demo-cache-ehcache | spring-boot æ´å ehcacheï¼ä½¿ç¨ ehcache ç¼åæ°æ® |
demo-email | spring-boot æ´å emailï¼å æ¬åéç®åææ¬é®ä»¶ãHTMLé®ä»¶ï¼å æ¬æ¨¡æ¿HTMLé®ä»¶ï¼ãé件é®ä»¶ãéæèµæºé®ä»¶ |
demo-task | spring-boot å¿«éå®ç°å®æ¶ä»»å¡ |
demo-task-quartz | spring-boot æ´å quartzï¼å¹¶å®ç°å¯¹å®æ¶ä»»å¡ç管çï¼å
æ¬æ°å¢å®æ¶ä»»å¡ï¼å é¤å®æ¶ä»»å¡ï¼æåå®æ¶ä»»å¡ï¼æ¢å¤å®æ¶ä»»å¡ï¼ä¿®æ¹å®æ¶ä»»å¡å¯å¨æ¶é´ï¼ä»¥åå®æ¶ä»»å¡å表æ¥è¯¢ï¼æä¾åç«¯é¡µé¢ |
demo-task-xxl-job | spring-boot æ´åxxl-jobï¼å¹¶æä¾ç»è¿ xxl-job-admin 对å®æ¶ä»»å¡ç管ççæ¹æ³ï¼å
æ¬å®æ¶ä»»å¡å表ï¼è§¦åå¨å表ï¼æ°å¢å®æ¶ä»»å¡ï¼å é¤å®æ¶ä»»å¡ï¼åæ¢å®æ¶ä»»å¡ï¼å¯å¨å®æ¶ä»»å¡ï¼ä¿®æ¹å®æ¶ä»»å¡ï¼æå¨è§¦åå®æ¶ä»»å¡ |
demo-swagger | spring-boot éæåçç swagger ç¨äºç»ä¸ç®¡çãæµè¯ API æ¥å£ |
demo-swagger-beauty | spring-boot éæ第ä¸æ¹ swagger swagger-bootstrap-ui ç¾åAPIææ¡£æ ·å¼ï¼ç¨äºç»ä¸ç®¡çãæµè¯ API æ¥å£ |
demo-rbac-security | spring-boot éæ spring security å®æåºäºRBACæé模åçæé管çï¼æ¯æèªå®ä¹è¿æ»¤è¯·æ±ï¼å¨ææé认è¯ï¼ä½¿ç¨ JWT å®å ¨è®¤è¯ï¼æ¯æå¨çº¿äººæ°ç»è®¡ï¼æå¨è¸¢åºç¨æ·çæä½ |
demo-rbac-shiro | spring-boot éæ shiro å®ç°æé管ç å¾ å®æ |
demo-session | spring-boot éæ Spring Session å®ç°Sessionå ±äº«ãéå¯ç¨åºSessionä¸å¤±æ |
demo-oauth | spring-boot å®ç° oauth æå¡å¨åè½ï¼å®ç°ææç æºå¶ å¾ å®æ |
demo-social | spring-boot éæ第ä¸æ¹ç»å½ï¼éæ justauth-spring-boot-starter å®ç°QQç»å½ãGitHubç»å½ã微信ç»å½ãè°·æç»å½ã微软ç»å½ãå°ç±³ç»å½ãä¼ä¸å¾®ä¿¡ç»å½ã |
demo-zookeeper | spring-boot éæ Zookeeper ç»åAOPå®ç°åå¸å¼é |
demo-mq-rabbitmq | spring-boot éæ RabbitMQ å®ç°åºäºç´æ¥éå模å¼ãåå模å¼ã主é¢æ¨¡å¼ã延è¿éåçæ¶æ¯åéåæ¥æ¶ |
demo-mq-rocketmq | spring-boot éæ RocketMQï¼å®ç°æ¶æ¯çåéåæ¥æ¶ å¾ å®æ |
demo-mq-kafka | spring-boot éæ kafkaï¼å®ç°æ¶æ¯çåéåæ¥æ¶ |
demo-websocket | spring-boot éæ websocketï¼å端主å¨æ¨éå端æå¡å¨è¿è¡ä¿¡æ¯ |
demo-websocket-socketio | spring-boot ä½¿ç¨ netty-socketio éæ websocketï¼å®ç°ä¸ä¸ªç®åçè天室 |
demo-ureport2 | spring-boot éæ ureport2 å®ç°å¤æçèªå®ä¹çä¸å½å¼æ¥è¡¨ å¾ å®æ |
demo-uflo | spring-boot éæ uflo å¿«éå®ç°è½»é级æµç¨å¼æ å¾ å®æ |
demo-urule | spring-boot éæ urule å¿«éå®ç°è§åå¼æ å¾ å®æ |
demo-activiti | spring-boot éæ activiti 7 æµç¨å¼æ å¾ å®æ |
demo-async | spring-boot 使ç¨åçæä¾çå¼æ¥ä»»å¡æ¯æï¼å®ç°å¼æ¥æ§è¡ä»»å¡ |
demo-war | spring-boot ææ war å çé ç½® |
demo-elasticsearch | spring-boot éæ ElasticSearchï¼éæ spring-boot-starter-data-elasticsearch å®æ对 ElasticSearch çé«çº§ä½¿ç¨æå·§ï¼å
æ¬å建索å¼ãé
ç½®æ å°ãå é¤ç´¢å¼ãå¢å æ¹æ¥åºæ¬æä½ãå¤ææ¥è¯¢ãé«çº§æ¥è¯¢ãèåæ¥è¯¢ç |
demo-dubbo | spring-boot éæ Dubboï¼åå«ä¸ºå
Œ
±æ¨¡å spring-boot-demo-dubbo-common ãæå¡æä¾æ¹spring-boot-demo-dubbo-provider ãæå¡è°ç¨æ¹spring-boot-demo-dubbo-consumer |
demo-mongodb | spring-boot éæ MongoDBï¼ä½¿ç¨å®æ¹ç starter å®ç°å¢å æ¹æ¥ |
demo-neo4j | spring-boot éæ Neo4j å¾æ°æ®åºï¼å®ç°ä¸ä¸ªæ ¡å人ç©å ³ç³»ç½çdemo |
demo-docker | spring-boot 容å¨å |
demo-multi-datasource-jpa | spring-boot 使ç¨JPAéæå¤æ°æ®æº |
demo-multi-datasource-mybatis | spring-boot 使ç¨Mybatiséæå¤æ°æ®æºï¼ä½¿ç¨ Mybatis-Plus æä¾çå¼æºè§£å³æ¹æ¡å®ç° |
demo-sharding-jdbc | spring-boot ä½¿ç¨ sharding-jdbc å®ç°ååºå表ï¼åæ¶ORMéç¨ Mybatis-Plus |
demo-tio | spring-boot éæ tio ç½ç»ç¼ç¨æ¡æ¶ å¾ å®æ |
demo-grpc | spring-boot éægrpcï¼é
ç½®tls/sslï¼åè§ISSUE#5 å¾ å®æ |
demo-codegen | spring-boot éæ velocity 模æ¿ææ¯å®ç°ç代ç çæå¨ï¼ç®åå¼å |
demo-graylog | spring-boot éæ graylog å®ç°æ¥å¿ç»ä¸æ¶é |
demo-sso | spring-boot éæ SSO åç¹ç»å½ï¼åè§ ISSUE#12 å¾ å®æ |
demo-ldap | spring-boot éæ LDAPï¼éæ spring-boot-starter-data-ldap å®æ对 Ldap çåºæ¬ CURDæä½, 并ç»åºä»¥ç»å½ä¸ºå®æç API 示ä¾ï¼åè§ ISSUE#23ï¼æè°¢ @fxbin |
demo-dynamic-datasource | spring-boot å¨ææ·»å æ°æ®æºãå¨æåæ¢æ°æ®æº |
demo-ratelimit-guava | spring-boot ä½¿ç¨ Guava RateLimiter å®ç°åæºçéæµï¼ä¿æ¤ API |
demo-ratelimit-redis | spring-boot ä½¿ç¨ Redis + Lua èæ¬å®ç°åå¸å¼éæµï¼ä¿æ¤ API |
demo-https | spring-boot éæ HTTPS |
demo-elasticsearch-rest-high-level-client | spring boot éæ ElasticSearch 7.x çæ¬ï¼ä½¿ç¨å®æ¹ Rest High Level Client æä½ ES æ°æ® |
demo-flyway | spring boot éæ Flywayï¼é¡¹ç®å¯å¨æ¶åå§åæ°æ®åºè¡¨ç»æï¼åæ¶æ¯ææ°æ®åºèæ¬çæ¬æ§å¶ |
demo-ureport2 | spring boot éæ Ureport2ï¼å®ç°ä¸å½å¼å¤ææ¥è¡¨è®¾è®¡ |
ç¹å«æè°¢
- æè°¢ ä¸çäº æä¾çå è´¹äºåå¨ä¸ CDN å éæ¯æ
- æè°¢å²ä¸æçç代ç çææ件 MyBatisCodeHelper-Pro æä¾çæ°¸ä¹ æ¿æ´»ç
- æè°¢ JetBrains æä¾çå è´¹å¼æº License
License
Copyright (c) 2018 Yangkai.Shen
Top Related Projects
Spring Boot
spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。
about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。
《Spring Boot基础教程》,2.x版本持续连载中!点击下方链接直达教程目录!
🔥「企业级低代码平台」前后端分离架构SpringBoot 2.x/3.x,SpringCloud,Ant Design&Vue3,Mybatis,Shiro,JWT。强大的代码生成器让前后端代码一键生成,无需写任何代 码! 引领新的开发模式OnlineCoding->代码生成->手工MERGE,帮助Java项目解决70%重复工作,让开发更关注业务,既能快速提高效率,帮助公司节省成本,同时又不失灵活性。
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员 中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot