4 ms·
Remote Sql in JavaScript for Mini-SPA Apps
- TomMarius 9y agoThis is kinda similar to GraphQL. I like this approach more though.
- buwilliams 9y agoIt's inspired by GraphQL. What do you like about this approach? We are kicking ideas around at the office so it's good to have feedback from outsiders.
- TomMarius 9y agoI don't like string-based queries, functional approach suits me better.
- buwilliams 9y agoAgreed. Having a data structure under the hood has so many benefits.
- ruslan_talpa 9y agoAllowing at will joins is dangerous. It seems you are trying to replicate the functionality of PostgREST
- buwilliams 9y agoYeah, it's a proof of concept without any real security added. I do believe security is implementable. How would you use PostgRest to implement authorization in an existing system? It seems to me that we could benefit from a drop-in solution.
- ruslan_talpa 9y agoAuthorization is explained in the docs (done by PostgreSQL). All the bits together here https://github.com/subzerocloud/postgrest-starter-kit https://github.com/subzerocloud/postgrest-starter-kit