SpringBoot template for Java web projects with Spring AI integration
Top 72.3% on sourcepulse
This project provides a comprehensive Spring Boot initialization template for Java web applications, targeting developers building new projects or seeking to learn Spring Boot. It offers a robust foundation by integrating numerous popular frameworks and features, enabling rapid development and reducing boilerplate code.
How It Works
The template leverages Spring Boot 3.2.5 and Java 17, utilizing Undertow as a high-performance web server. It adopts a modular design, integrating a wide array of technologies including Mybatis-Plus for data access, ShardingSphere for database sharding, Redis and Redisson for caching, RabbitMQ for messaging, Elasticsearch via Easy-ES, SaToken for authentication, various object storage services (Tencent COS, MinIO, Alibaba OSS), Caffeine for local caching, and Spring AI for large language model integration. The project also includes configurations for scheduled tasks (SpringBoot Scheduler, XxlJob, PowerJob), WebSocket, SpringBoot Admin for monitoring, Canal for data synchronization, and Docker Compose for containerized deployment.
Quick Start & Requirements
application-xxx.yaml
files with your specific database (MySQL 8.0.X recommended), Redis (7.X.X mandatory), Elasticsearch (7.X.X mandatory, 7.14.0 recommended), and RabbitMQ (3.X.X recommended) connection details.sql/init_db.sql
, sql/init_xxl_job.sql
, sql/init_power_job.sql
). Default admin credentials are admin
/123456
.Highlighted Details
Maintenance & Community
The project is actively maintained by AntonyCheng, with a commitment to continuous updates. Community contributions via Pull Requests and Issues are encouraged.
Licensing & Compatibility
Limitations & Caveats
The README notes that Git branches are pre-release, and stable versions are recommended from Releases. Some configurations, like Elasticsearch dependencies, are fixed to specific versions (7.14.0), which might limit compatibility with newer Elasticsearch instances. The frontend template is a basic integration for project completeness.
2 days ago
Inactive