How alexpeti/spring-boot-microservices works
This repository demonstrates a Spring Boot microservices ecosystem. A client sends requests through the API Gateway, which routes traffic and filters access to protected endpoints; the Identity Service provides registration, authentication, and JWT handling. Eureka supports service discovery, and Spring Cloud Config provides centralized configuration. The README does not specify service-to-service call paths or which services consume configuration, so those links are omitted rather than inferred.
Main entry points: routing Request routing · auth Authentication · eurekanamingserver Service discovery · security JWT filters
Components 9
API gateway
- Request routing
api-gateway-service/src/main/java/com/example/apigatewayservice/routing - JWT filters
api-gateway-service/src/main/java/com/example/apigatewayservice/security
Identity
- Registration
identity-service/src/main/java/com/example/identityservice/auth - Authentication
identity-service/src/main/java/com/example/identityservice/auth - JWT handling
identity-service/src/main/java/com/example/identityservice/token
Platform services
- Service discovery
eureka-naming-server/src/main/java/com/example/eurekanamingserver - Central configuration
spring-cloud-config-server/src/main/java/com/example/springcloudconfigserver
Demo endpoint
- Test endpoint
demo-controller-microservice/src/main/java/com/example/democontrollermicroservice/controllers
Other components
- API client
Connections 8
- API client → Request routing: sends requests
README.md - Request routing → JWT filters: applies filters
README.md - JWT filters → JWT handling: checks JWT
README.md - Registration → Authentication: supports access
- Authentication → JWT handling: issues JWT
README.md - Request routing → Test endpoint: routes test traffic
- Service discovery → Request routing: enables discovery
README.md - Service discovery → Authentication: enables discovery
README.md