A Spring Boot + Spring Cloud e-commerce system built with microservices.
- Service Registry (Eureka, 8761) – service discovery
- API Gateway (8080) – routes client requests
- Auth Service (8081) – authentication & authorization
- Admin Service (8082) – admin operations
- Client Service (8083) – customer operations
Spring Microservices Shop Application
git clone https://github.com/xanderbilla/spring-microservice
cd spring-microservice
mvn clean install (each service one by one)
Start in order:
- Service Registry → 2. API Gateway → 3. Other services (
auth
,admin
,client
)
- Eureka Dashboard → http://localhost:8761
- Gateway → http://localhost:8080
- Example:
http://localhost:8080/auth/info
API details are in the Wiki:
Spring Boot · Spring Cloud · Spring Cloud Gateway · Netflix Eureka · Maven · Java 17
- Service not in Eureka? → check
eureka.client.service-url.defaultZone
- Gateway not routing? → confirm service registered in Eureka
- Port conflicts? → change
server.port
inapplication.properties