How miladsrc/ecommerce-microservice works
This is a Spring Boot e-commerce backend migrating from a monolith toward microservices. Users call services directly: authentication and authorization, account management, product catalog, and shopping-cart/checkout are separate documented responsibilities. The README shows PostgreSQL shared by the services and notes that user and security currently share a database. The tree supports these service boundaries, but no source excerpts were provided, so internal calls and data-access details are not asserted.
Main entry points: ecommerce Authentication · user User Accounts · product Product Catalog · shopping-cart Cart & Checkout
Components 7
Shared Framework
- Shared Code
framework
Identity Services
- Authentication
security/src/main/java/com/example/ecommerce - User Accounts
user/src/main/java/com/example/ecommerce/user
Commerce Services
- Product Catalog
product/src/main/java/com/example/ecommerce/product - Cart & Checkout
shopping-cart/src/main/java/com/example/ecommerce/shopping-cart
Other components
- Client
- PostgreSQL
Connections 8
- Client → Authentication: calls directly
README.md - Client → User Accounts: calls directly
README.md - Client → Product Catalog: calls directly
README.md - Client → Cart & Checkout: calls directly
README.md - Authentication → PostgreSQL: uses database
README.md - User Accounts → PostgreSQL: uses database
README.md - Product Catalog → PostgreSQL: uses database
README.md - Cart & Checkout → PostgreSQL: uses database
README.md