In this case, I wouldn't disagree with you if you were to do it on the backend.
The article says, "build a backend API when it has something to do, not as a pass through to your database."
It doesn't say "never write any backend code".
The article says, "build a backend API when it has something to do, not as a pass through to your database."
It doesn't say "never write any backend code".