Skip to content

整合生产可用的spring分布式API快速开发框架 包含*spring-boot *nacos注册中心 *nacos配置中心 *dubbo3 *rocketMq *mybatis-plus *spring-geteway

License

Notifications You must be signed in to change notification settings

AmdRyZen/spring-boot-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read Me First

The following was discovered as part of building this project:

  • The following dependencies are not known to work with Spring Native: 'Spring Configuration Processor, Spring Boot DevTools, MyBatis Framework'. As a result, your application may not work as expected.
  • The JVM level was changed from '1.8' to '11', review the JDK Version Range on the wiki for more details.

Getting Started

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Additional Links

These additional references should also help you:

Spring Native

This project has been configured to let you generate either a lightweight container or a native executable.

Lightweight Container with Cloud Native Buildpacks

If you're already familiar with Spring Boot container images support, this is the easiest way to get started with Spring Native. Docker should be installed and configured on your machine prior to creating the image, see the Getting Started section of the reference guide .

To create the image, run the following goal:

$ ./mvnw spring-boot:build-image

Then, you can run the app like any other container:

$ docker run --rm -p 9191:9191 spring-boot-api:0.0.1-SNAPSHOT

Executable with Native Build Tools

Use this option if you want to explore more options such as running your tests in a native image. The GraalVM native-image compiler should be installed and configured on your machine, see the Getting Started section of the reference guide .

To create the executable, run the following goal:

$ ./mvnw package -Pnative

Then, you can run the app as follows:

$ target/spring-boot-api

About

整合生产可用的spring分布式API快速开发框架 包含*spring-boot *nacos注册中心 *nacos配置中心 *dubbo3 *rocketMq *mybatis-plus *spring-geteway

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published