This repository contains best way to implement microservices in springboot using service registry, config server, api gateway, hystrix, zipkin and microservices.
For zipkin server you need to download Jar from https://zipkin.io/ and you can simply run the server using java -jar command.
Minimal Spring Boot sample app.
For building and running the application you need:
git clone https://github.com/deepak-kumbhar/springboot-microservices.git
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.deepak.kumbhar.api.gateway.ApiGatewayApplication
com.deepak.kumbhar.hystrix.dashboard.HystrixDashboardApplication
com.deepakkumbhar.serviceregistry.ServiceRegistryApplication
com.deepak.kumbhar.userservice.UserServiceApplication
com.deepak.kumbhar.config.server.ConfigServerApplication
com.deepak.kumbhar.department.DepartmentServiceApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run