In this section, we'll look at a simple order manager application implemented using Durable Functions.
You can find the code at https://github.com/PacktPublishing/Mastering-Azure-Serverless-Computing/tree/master/Chapter08.
The application has these requirements:
- A customer can place his or her order using an HTTP POST request.
- The following apply to every single order:
- Can be approved by a third-party system using an HTTP PUT request.
- Can be canceled by a third-party system using an HTTP PUT request.
- Can be automatically canceled after an interval of time if it isn't approved.
- If the order has been approved, the application creates the invoice.
- The application sends an email to the customer with the status of the order whether it has been approved or canceled. If the order has been approved, the mail has the invoice as an attachment.
The following...