- show how the apihug work
- how development model
The libs of this project will be published to :
💝 SDK Version: , 注意 Apihug 采用整包发行, Gradle plugin + 基础包公用一个版本。
💝 IDEA Plugin: ApiHug - API design Copilot Plugin Handbook Plugin FAQ
😆 Guide:
#windows
./gradlew.bat clean build -x test -x wireTest -x stubTest
#others
sh gradlew clean build -x test -x wireTest -x stubTest
#windows
./gradlew.bat demo-order-proto:clean wire build -x test -x wireTest
#others
sh gradlew demo-order-proto:clean wire build -x test -x wireTest
Everytime you update application's dependence proto libraries, please run this command to re-generate your stubs.
#windows
./gradlew.bat demo-user:clean stub build -x test -x stubTest
#others
sh gradlew demo-order:clean stub build -x test -x stubTest
#windows
./gradlew.bat demo-order:bootRun
#others
sh gradlew demo-order:bootRun
👍Then just kick off the application, in logger output you will find:
Application 'demo-order' is running! Access URLs:
Local http://localhost:18189/
External http://192.168.0.1:18189/
OAS http://192.168.0.1:18189/v3/api-docs
Actuator http://192.168.0.1:18189/management
Profile(s) dev
🥳 Congratulations! You have successfully started your application!
For further reference, please consider the following sections: