A simple basket service API built on ASP.NET Core 1.0 with Akka.NET.
dotnet restoreThe API can be started using:
dotnet runGetting the product list: GET - http://localhost:5000/api/products.
Getting the contents of a basket: GET - http://localhost:5000/api/basket/1.
Add an item to the basket: PUT - http://localhost:5000/api/basket/1/items with JSON body:
{
"productId": 1000,
"amount": 1
}Remove an item from the basket: DELETE - http://localhost:5000/api/basket/1/items/{basketItemGUID}.