Not sure what this has to do with the immense amount of code that needs to be written across various layers in a stack to do the simplest task. Can you translate this into some real and actionable?
This is a late reply, and I think I misunderstood your meaning.
I don’t have good answers on how to drop layers from the stack, they all seem pretty necessary. Storage is obvious, backend is needed for authentication if nothing else and powers the API layer. Front end could be replaced by APIs, and often is in products, but someone ultimately has to write a view for humans if humans will use the system.