#Vending Machine Implementation
Objectives:
Implement 2 given interfaces. Given code (interfaces, struct, enum) should not be changed
Implement unit tests
No need for database and UI
Use best practices, e.g. TDD, S.O.L.I.D. etc.
Bonus: Implement Rest API for each interface implementation.
- Implement 2 given interfaces
- Implement unit tests
- Use best practices, e.g. TDD, S.O.L.I.D. etc.
Bonus:
- Implement Rest API for each interface implementation.
- Balance Controller
- GET getBalance
- POST insertCoin
- POST returnMoney
- Products Controller
- POST buyProduct
- GET getProducts
- POST loadProducts