Skip to content

pcalero/Sustainables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Vending Machine

This is a .NET Core API solution (VendingAPI) and an Angular Application (VendingApp) that together simulate a virtual Vending Machine.

Prerequisites

VendingAPI needs Visual Studio and .Net Core 3.1

VendingApp needs Node.js, npm, Angular 9.1.3 and a browser like Google Chrome.

Running VendingAPI

Run:

  • Open the solution with Visual Studio.
  • Press F5 in Visual Studio.

It will be executed on: https://localhost:5001/api/

Installing and running VendingApp

In the directory where VendingApp is stored.

Install:

$ npm install

Run:

$ ng serve -o

It will open a new page: http://localhost:4200/

Future improvements:

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.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published