How abhinavjalluri/e-commerce works
This repository is a Spring Boot e-commerce application split into gateway, discovery, identity, commerce, review, and notification services. The documented user-facing path is a request entering the API Gateway and being routed to a microservice; the README identifies order, inventory, user, and review capabilities but does not specify their internal call sequence. It also documents Eureka discovery, JWT security, Kafka messaging, and observability. No source excerpts were provided, so service-to-service and persistence relationships beyond the README are omitted or marked unverified.
Main entry points: apigateway API Gateway · eurekaservice Eureka Discovery · authservice Authentication · orderservice Order Processing
Components 12
Edge and Discovery
- API Gateway
api-gateway/src/main/java/com/example/apigateway - Eureka Discovery
eureka-service/src/main/java/com/example/eurekaservice
Identity Services
- User Management
user-service/src/main/java/com/example/userservice - Authentication
auth-service/src/main/java/com/example/authservice
Commerce Services
- Product Inventory
inventory-service/src/main/java/com/example/inventoryservice - Order Processing
order-service/src/main/java/com/example/orderservice - Reviews and Ratings
reviews-service/src/main/java/com/example/reviewsservice - Notifications
notification-service/src/main/java/com/example/notificationservice
Messaging and Observability
- PostgreSQL
- Kafka
- Observability Stack
deployment
Other components
- Customer
Connections 16
- Customer → API Gateway: sends requests
README.md - API Gateway → User Management: routes requests
README.md - API Gateway → Authentication: routes requests
README.md - API Gateway → Product Inventory: routes requests
README.md - API Gateway → Order Processing: routes requests
README.md - API Gateway → Reviews and Ratings: routes requests
README.md - API Gateway → Notifications: routes requests
README.md - Eureka Discovery → API Gateway: supports discovery
README.md - Eureka Discovery → User Management: supports discovery
README.md - Eureka Discovery → Authentication: supports discovery
README.md - Eureka Discovery → Product Inventory: supports discovery
README.md - Eureka Discovery → Order Processing: supports discovery
README.md - Eureka Discovery → Reviews and Ratings: supports discovery
README.md - Authentication → Customer: authenticates with JWT
README.md - Order Processing → Kafka: uses messaging
README.md - Kafka → Notifications: supports notifications
README.md