Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a pattern that securely allows JS clients to make arbitrary SQL queries? Or is this a feature of REST? Maybe this is why people invented GraphQL? But then that comes with its own issues...

Either way, is it as simple as you’re making it out to be?



I would argue if your frontend is just a js client with no server component you are already doing it wrong.

Of course, that then becomes a much bigger discussion about websites vs apps and the current state of the web which we have on here quite regularly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: