YounessMouloudi/Ecom_Microservices_SpringCloud — reverse-engineered prompt
Reverse engineered prompt
Build me a Java Spring Boot backend for a simple e commerce system using microservices. I want separate services for customers, inventory products, and billing, with each service exposing clean REST APIs so I can create, list, view, update, and delete the main data where it makes sense.
Set it up with Spring Cloud so the services register with a discovery server, route through an API gateway, and read shared settings from a central config service and config repo. The billing service should be able to call the customer and product services to build a bill with customer info and product details, not just store raw ids.
Please make it runnable locally with clear ports, sample data, and simple test endpoints so I can verify everything from the gateway. Include basic fault tolerance for service calls, sensible error responses, and a README that explains how to start the services in the right order and try the main API calls.
Want more depth? Deep Reverse