The previous section described a rather complex software architecture, but still running only in the user's web browser, after having being served by the site where it is installed. This is quite unusual, as most web apps actually communicate with some other process. Typically, the same site that provides the frontend app also provides a backend service, that is, a web service to let the app access shared data residing on the server.
In this section, we'll see a pair of projects that can be downloaded from the repository:
- yclient: This is an app quite similar to the yauth app. Actually, it is developed using Yew and Wasm, and it has the same look and behavior as yauth; though its data, which is the authorized users and the persons stored in the mock database, no longer resides in the app itself, but in another app, which is accessed through an HTTP connection.
- persons_db: This is the RESTful service that provides access to the data for...