Closed loiane closed 5 months ago
As a customer browsing an e-commerce website or app, I want to see a list of all available products So that I can find items I'm interested in buying.
GET /api/products
[ { "id": 12345, "name": "Awesome T-Shirt", "description": "The most comfortable t-shirt you'll ever wear.", "price": 19.99, }, { "id": 54321, "name": "Stylish Jeans", "description": "Classic denim jeans with a modern fit.", "price": 49.99, }, // ... more products ]
Don't forget to write unit tests using Junit 5!
As a customer browsing an e-commerce website or app, I want to see a list of all available products So that I can find items I'm interested in buying.
Acceptance Criteria
Additional Considerations
Technical Notes
Example API Endpoint
Example Response (JSON)