Task is related to online e-commerce where product stock is managed so that user can add products to the shopping cart
Implement user shopping experience in code with following minimum features:
- You can manage (add, remove & update) product stock at any time
- note: decide how You want to handle stock availability (can users order more than available in stock or not)
- You can manage user cart by adding or removing products
- You can get cart subtotal, vat amount and total at any time
- Use given interfaces for Your implementation
- Use TDD approach
- Use PHP8
- Comments and code must be in English language
- UI is nice to have
- As result, we need Your source code for this task - preferably link to public Github repo