A sample microservice application to demonstrate some concepts and tools of spring cloud
Two apis are used to demonstrate springboot and springcloud and can run with followed profiles:
- local => Run locally with h2 database and no service register;
- development => Run locally with h2 database and local service register; (depends on eureka server localy)
- dev => Run locally but config is on the cloud; (depends config-server)
A RESTful api to users operations (CRUD)
A RESTful api to cards operations (CRUD)
A Springcloud Netflix Eureka server example to service register
A Springcloud Config server example to register configurations and decouple applications
URL: http://host:8888/configserver
mvn -U -Pprofile clean spring-boot:run
docker-compose up [-d]