Small store for products
Activities:
- CRUD for Clients: minimum fields needed -> name, NIF, address
- CRUD for products: minimum fields needed -> name, code
- Operation: Sell a products -> it requires product, client and quantity. This operation can accept more than one product to sell, the quantity must be an integer, decimal values must be rejected
- Operation: See past sales -> it requires client id and must show: one by one the sales, if the sale includes more than one product, it should include all the products
- Operation: Income report -> it requries product id and must show the product and the number of units sells ordered descendent (most sell first)
- Add tests for your code
- Include jacoco to see code coverage, the minimum coverage of lines must be 50%
Notes:
- Stock for products is infinite
- The project can be done individually or in pairs.
- Dealine: November 5th.