How himanshusinghtomar/ecom_micro_service works
Project type and purpose
• This is an e-commerce microservices application built in Java 17 using Spring Boot.
• It demonstrates independent, scalable services (product-, order-, user-services) that register with a Eureka Service Registry for discovery.
File structure
• Top-level directories:
• eureka-server – the Spring Boot Eureka registry
• product-service, order-service, user-service – three independent Spring Boot microservices
• Each service uses Maven (pom.xml, mvnw, .mvn) and follows the standard Spring Boot layout (src/main/java, src/main/resources).
• Controllers packages under each service indicate REST endpoints.
• application.properties in each service configures ports and Eureka settings.
README for additional insights
• Eureka Server runs on port 8761 and provides the dashboard/UI.
• Product Service (port 8081), Order Service (8082), User Service (8083).
• Order Service uses RestTemplate or OpenFeign to call Product Service.
• Future enhancements mention a config server, API Gateway, resilience patterns, databases, and security—but these are not yet implemented.