Skip to content

“ ApiBoot”是为接口服务而生的,基于“ SpringBoot”完成扩展和自动配置,内部封装了一系列的开箱即用Starters。

License

Notifications You must be signed in to change notification settings

minbox-projects/api-boot

Repository files navigation

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:

  • Provide low-threshold third-party framework integration solutions for Java developers, so that the threshold for the use of complex framework integration is lower.
  • Out of the box, the mainstream framework is encapsulated inside, just add dependencies and simple configuration to use.
  • Each component can be used independently, no longer redundant your application.
  • Can easily and quickly build a secure restful resource interface service.
  • It can be used to build SpringCloud microservice service instances.
  • To contribute to open source, I hope that the open source framework can help more developers.

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:

  • Before submitting an issue, please search for any issues in the issues.
  • Please provide as much information as possible about ApiBoot when asking your question, such as: ApiBoot version, JDK, use components, etc.
  • If you need to paste the code when asking questions, please try to use the markdown syntax ``` escape character.

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