Tushar-96/order-processing-system ? reverse-engineered prompt
Reverse engineered prompt
Build me a full stack order processing app where people can sign up, log in, browse products, keep a shopping cart tied to their account, place orders, and track each order as it moves through states like pending, confirmed, rejected, cancelled, shipped, and delivered.
I want the backend split into separate services for auth, orders, and inventory, with a gateway in front, JWT based login, and PostgreSQL for each service. Order placement and inventory checks should happen asynchronously with Kafka, and if a confirmed order gets cancelled the stock should be restored. The frontend should be a clean React app that talks only to the gateway, shows useful error messages, and lets users manage products, carts, and orders without exposing the internal services. If you need current docs for anything, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit