by devxpy · 6y ago · 0 comments
In my last project, almost half the server code is really just converting REST to SQL. Why don't we just use SQL on the client directly?
If its just about authorisation, why not write an auth system for SQL and be done with all this unnecessary server code, once and for all?
I mean graphql sounds so stupid in this context because it's just cruft over SQL.
I'm suggesting something like a hassura that isn't based on graphql, but works directly on SQL.
And ofcourse for specific logic, you can always run a traditional server in tandem.