ejazulhaque13/ecomproductservice ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Java backend for an ecommerce product service using this existing Maven project.

I want to be able to create products, view all products, get a single product by id, update a product, and delete a product. Each product should have basic details like name, description, price, stock, and category, and it would be nice to support searching or filtering the list by name or category.

Please set up the project so it runs cleanly from the command line, with sensible structure, validation, and clear API responses. If you need to look up current docs online, go ahead. Also add a few basic tests and make sure the app has a simple way to seed or store sample data so I can try it right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab