When you build modern applications, the frontend almost always communicates with an API to interact with a date source. The API is the gateway to the backend application and can be consumed by any client application, such as a Progressive Web App.
Developing against an API can be rather tricky when you don't want to develop the entire API first. In the podcast application, we simply loaded a pre-rendered JSON to simulate an API. The podcast application only made a GET request and did not do any post requests or attempts to update the underlying data model.
The PWA ticket application does make post requests and attempts to update the underlying data model, but rather than building out an entire infrastructure for this, I found a nice solution: json-server (https://github.com/typicode/json-server). This is a node module that works much like...