August 2025
Intermediate to advanced
294 pages
6h 59m
English
In Chapter 4, we expanded Tunez with APIs—we now have HTML in the browser, REST JSON, and GraphQL. It was fun seeing how Ash’s declarative nature could be used to generate everything for us, using the existing domains, resources, and actions in our app.
But now it’s time to get down to serious business. The world is a scary place, and unfortunately, we can’t trust everyone in it to have free rein over the data in Tunez. We need to start locking down access to critical functionality to only trusted users, but we don’t yet have any way of knowing who those users are.
We can solve this by adding authentication to our app and requiring users to log in before they can create or modify any data. Ash has a library ...
Read now
Unlock full access