Consuming hypermedia means respecting the constraints of a self-contained API from a known single starting point and following link relations. This tutorial explores a concrete implementation of the todo API that builds a simple todo app.
The tutorial is written using Vue and covers:
Most business applications have administrative functions hidden from the customer-side view. This has been modelled in the todo app to show that clients can interact with the API to varying levels. The first is the customer-side view is creating and using todos individually and at the request of users (with some batch functions). The other view is administrative which often requires bulk processing. By the end of the tutorial, you should start to understand that all of these functions exist on a continuum and all should build on the same foundation as outlined in the points above.
The customer fronting application walks the API and binds the UI to specific parts resources for display, update, creation and deletion. It also might batch process functions by iterating over a set.
Administrative view often also require bulk processing. Drag and drop is a technique to facilitate invoking these types of approaches. Underneath, resources are hydrated and evaluated for changes to be made back against the server.