# spring-boot-init **Repository Path**: tudouza1/spring-boot-init ## Basic Information - **Project Name**: spring-boot-init - **Description**: 一个 Spring Boot 3 多模块 脚手架,已集成 MySQL、Redis、MyBatis-Plus、JWT、OSS、Knife4j Swagger 等。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-17 - **Last Updated**: 2025-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Spring Boot Init Template English | [中文](#中文) --- ## English A **multi-module Spring Boot 3** scaffolding project that integrates MySQL, Redis, MyBatis-Plus, JWT, OSS, Knife4j Swagger, etc. Clone → rename in IDE → run. ### Quick Start 1. **Clone** ```bash git clone https://gitee.com/tudouza1/spring-boot-init.git cd spring-boot-init ``` 2. **Rename** (IDEA / VS Code) - Replace **com.xxx** → **com.yourcompany** - Replace **init-** → **your-project-name-** 3. **Run** ```bash cd your-project-name-web ./mvnw spring-boot:run ``` 4. **Health Check** ``` GET http://localhost:8080/health {"status":"UP"} ``` ### Module Description | Module | Purpose | |---------------|---------------------------------------| | `*-common` | Constants, utils, thread context… | | `*-service` | Global config, filters, interceptors… | | `*-web` | Controllers, mappers, starter class | --- ## 中文 一个 **Spring Boot 3 多模块** 脚手架,已集成 MySQL、Redis、MyBatis-Plus、JWT、OSS、Knife4j Swagger 等。 克隆后在 IDE 里全局替换即可。 ### 快速开始 1. **克隆** ```bash git clone https://gitee.com/tudouza1/spring-boot-init.git cd spring-boot-init ``` 2. **改名**(IDEA / VS Code) - 全局替换 **com.xxx** → **com.yourcompany** - 全局替换 **init-** → **your-project-name-** 3. **启动** ```bash cd your-project-name-web ./mvnw spring-boot:run ``` 4. **健康检查** ``` GET http://localhost:8080/health {"status":"UP"} ``` ### 模块说明 | 模块名 | 说明 | |---------------|--------------------------| | `*-common` | 常量、工具、线程上下文等 | | `*-service` | 全局配置、过滤器、拦截器 | | `*-web` | 控制器、Mapper、启动类 |