minbox-projects / api-boot

“ ApiBoot”是为接口服务而生的,基于“ SpringBoot”完成扩展和自动配置,内部封装了一系列的开箱即用Starters。
https://apiboot.minbox.org
Apache License 2.0
532 stars 152 forks source link
datasource-switch logging mybatis mybatis-pageable oauth2 oss qps quartz rate-limiter redis sms spring-cloud spring-security springboot

ApiBoot: Born to build Api services as components

Ci Builder

What is ApiBoot ?

ApiBoot is a landing solution for interface services. It provides a series of out-of-the-box components to simplify the integration of mainstream third-party frameworks through encapsulation, thereby improving developer development efficiency, learning costs, and lowering the entry threshold. Ready to use! ! !

Developers who have a simple understanding of Spring Boot can write secure and stable interface services, which can provide rich security interfaces for multiple endpoints such as mobile terminals and web pages.

ApiBoot depends on SpringBoot and can be used to build standalone Java applications.

Vision:

Installation & Getting Started

Please check the use of componentsOfficial Reference Document,Get started please visitThe first ApiBoot application

If you are using Maven to build the project, you need to add the version dependency of ApiBoot to your pom.xml file as follows:

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.minbox.framework</groupId>
      <artifactId>api-boot-dependencies</artifactId>
      <version>${lastVersion}</version>
      <scope>import</scope>
      <type>pom</type>
    </dependency>
  </dependencies>
</dependencyManagement>

Note:lastVersionNeed to be replaced with the latest ApiBoot version,Please visitVersion dependencies- 2. Get the latest ApiBoot dependencies

After the version dependency is added, we can then add the required ApiBoot components in the project. The following is an example of using the distributed link component minbox-logging:

<dependencies>
  <!--ApiBoot MinBox Logging-->
  <dependency>
    <groupId>org.minbox.framework</groupId>
    <artifactId>api-boot-starter-logging</artifactId>
  </dependency>
</dependencies>

After adding the components, we can find the corresponding component documentation according to official reference document to configure and use.

Get help

If you encounter problems while using ApiBoot, you can get help through the following channels!

Create Issues

Everyone may ask different questions, but there will be some of the same questions. If you want to ask questions, please follow the suggestions below:

Source code construction

The official version of ApiBoot will be released to Maven Center. If you want to use the latest version of ApiBoot (the version is not released), you can directly build and install it to local use through the source code. The prerequisites are as follows:

# Download master branch source code to local
➜ git clone https://github.com/minbox-projects/api-boot.git
➜ cd api-boot
# install
➜ mvn clean install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dgpg.skip

License

ApiBoot is written under the Apache2 open source license。

OpenSource Support