Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java 21 Spring Boot 3.5.13 Maven Central License

🚀 fz-spring-boot-starter

Supercharge Your Spring Boot Development
A curated suite of enterprise-grade Spring Boot starters — zero boilerplate, full auto

🌐 Chinese


🧩 Module Matrix

┌──────────────────────────────────────────────────────────────┐
│  📦 fz-spring-boot-starter                                   │
│  ├── ⚙️  core        —— Utilities: exceptions, functions     │
│  ├── 📐 pojo         —— Models: Entity / DTO / BO / Mapper   │
│  ├── 🗃️  dal          —— Data layer: CRUD interface, queries │
│  ├── 🐬 mybatis-plus —— MyBatis-Plus auto CRUD               │
│  ├── 🏛️  jpa          —— JPA / Specification dynamic queries │
│  ├── 🌐 web          —— Web: generic CRUD + unified response │
│  ├── ⚡ webflux     —— WebFlux reactive variant              │
│  ├── 🔐 auth        —— JWT authentication                    │
│  ├── 🔴 redisson     —— Redis rate-limit / anti-duplicate    │
│  ├── 📊 excel        —— EasyExcel import / export            │
│  ├── 📝 audit        —— AOP operation audit logging          │
│  ├── 💬 message      —— i18n internationalization            │
│  └── 🏭 generator    —— Code generator (table → code)        │
└──────────────────────────────────────────────────────────────┘

⚡ 60-Second Setup

<dependency>
    <groupId>io.github.fbbzl</groupId>
    <artifactId>fz-spring-boot-starter-web</artifactId>
    <version>3.5.11_3.5.16</version>
</dependency>
# Build from source
git clone https://github.com/fbbzl/fz-spring-boot-starter.git
cd fz-spring-boot-starter
mvn clean install -DskipTests

🔥 Core Powers

🎯 Generic CRUD —— Extend & Done

@RestController
@RequestMapping("/user")
public class UserController extends BaseCrudController<UserService, UserEntity, UserDTO, UserBO, Long> {
    // ✅ Auto-enabled endpoints:
    // GET  /{id}    POST  /ids   POST /list
    // POST /page    POST /tree   POST /
    // PUT  /        DELETE/{id}  DELETE /ids
}

📦 Unified Response —— Zero Intrusion

{
  "code": 200,
  "success": true,
  "message": "Success",
  "data": { ... }
}

🛑 Distributed Guardians

@RateLimit(permits = 10, timeWindowMillis = 1000, byIp = true)
@SubmitOnce(waitMillis = 3000)
public R<String> submit(@RequestBody Q<DTO> req) {
    return R.success("ok");
}

📋 Audit Logging —— Auto Track

@AuditModule("User Management")
@AuditMethod(saveParam = true, saveResult = true)
public R<BO> create(@RequestBody Q<DTO> req) { ... }

🏭 Code Generator —— One-Click Output

fz:
  generator:
    enable: true
    table-names: sys_user, sys_role
    base-package: com.example.myapp

🛠️ Tech Stack

Technology Version
Java 21
Spring Boot 3.5.13
MyBatis-Plus 3.5.16
Redisson 4.4.0
EasyExcel 4.0.3
MapStruct 1.7.0
crane4j 2.10.0
Bean Searcher 4.8.7
Hutool 5.8.46
Guava 33.6.0
Sa-Token 1.45.0
SpringDoc OpenAPI 2.8.17
Lombok 1.18.46

📜 License

Apache License 2.0

Made with ❤️ by fengbinbin

About

a tool starter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages