vitordomingos/projeto-integrador ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple online cupcake shop called Cupcakes Gourmet using the data model from the README.

I want a system where customers can create an account, log in, browse cupcake products, add them to an order, and see their purchase history. Admin users should be able to manage the cupcake catalog, update stock, hide products that are no longer sold, and change order status from received to in preparation, out for delivery, and finished.

Please make sure the order flow saves the customer, the items in each order, the payment method, delivery fee, total amount, and the exact price at the time of purchase. The product list should show name, description, price, stock, and whether the item is active. Keep the database rules consistent with the README, especially unique usernames, valid status values, payment options, and stock control.

If you need anything unclear, check current docs online and make sensible choices.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab