This is a .NET Core API solution (VendingAPI) and an Angular Application (VendingApp) that together simulate a virtual Vending Machine.
VendingAPI needs Visual Studio and .Net Core 3.1
VendingApp needs Node.js, npm, Angular 9.1.3 and a browser like Google Chrome.
Run:
- Open the solution with Visual Studio.
- Press F5 in Visual Studio.
It will be executed on: https://localhost:5001/api/
In the directory where VendingApp is stored.
Install:
$ npm install
Run:
$ ng serve -o
It will open a new page: http://localhost:4200/
Following improvements can be done:
- Splitting VendingAPI solution in several projects, to decouple layers and make easier the solution grows.
- Creating unit tests and mocking data in VendingAPI and VendingApp.
- Pedro Calero - Initial work - (https://github.com/pcalero/)
This project is licensed under the MIT License - see the LICENSE.md file for details