Piggy Metrics is a tutorial-style financial advisor application built to demonstrate microservice architecture with Spring Boot, Spring Cloud, and Docker. It divides the system into independently deployable services for account data, statistics, notifications, authentication, configuration, gateway routing, monitoring, and service registry behavior. The application models a real distributed system by giving each core microservice its own MongoDB database and connecting services through REST APIs. It uses Spring Cloud patterns such as centralized configuration, OAuth2 authorization, Zuul gateway routing, Eureka service discovery, Ribbon load balancing, Hystrix circuit breaking, and Feign clients. The project also includes monitoring, centralized logging, distributed tracing, and Docker Compose deployment flows. It is useful for developers studying Java microservices, cloud-native infrastructure, and practical distributed system patterns.
Features
- Spring Boot microservice architecture
- Account, statistics, and notification services
- OAuth2 authentication service
- Zuul API gateway routing
- Eureka service discovery
- Docker Compose deployment support