jhipster快速启动微服务

jhipster快速启动微服务

jh微服务最简启动需要注册中心、网关、业务微服务A。
启动顺序注册中心、网关、微服务

1、注册中心启动效果

image.png

2、网关和微服务A注册成功后

image.png

3、启动注册中心

git clone https://github.com/jhipster/jhipster-registry.git
cd jhipster-registry
./mvnw
window系统
mvnw.bat

启动成功:


image.png

4、启动gateway

git clone https://github.com/jhipster/jhipster-sample-app-gateway.git
cd jhipster-sample-app-gateway
./mvnw

5、启动业务微服务

git clone https://github.com/jhipster/jhipster-sample-app-microservice.git
cd jhipster-sample-app-microservice
./mvnw

6、查看GATEWAY的API

image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容