andraspatka / serverless-demo

Demo for an Azure serverless function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure functions (serverless) demo

Two functions were implemented:

  • Add item: Adds an item to the specified category (Fruits, Cars, Dogs). The items are saved to a Table, the partition key is the category
  • List items: List the items from the specified category.

Demo:

Possible categories are: fruits, cars, dogs (case insensitive)

Remark: Using "getItems" as the path for the list items endpoint is not ideal. If a verb is present, then it is more of an RPC than HTTP. Unfortunately Azure Functions don't seem to support setting the same path with different HTTP methods.

About

Demo for an Azure serverless function

License:The Unlicense


Languages

Language:Java 100.0%