2 ms·
Been working on a similar project [0] with a simpler architecture. You supply a database schema and the project builds you a browser UI and API with authenticat
by eatonphil 6y ago
Been working on a similar project [0] with a simpler architecture. You supply a database schema and the project builds you a browser UI and API with authentication, filtering, pagination, etc.
Authorization is tricky though. I've been looking into high-level compile-to-SQL languages like TreSQL [1] for expressing more complex logic (e.g. `notes.get.require: notes.is_public OR (notes->organization.id = $user.id)`).
There's some thinking to be done to flesh out a good language for expressing policies tied to a user session in SQL.
[0] https://www.dbcore.org/ https://www.dbcore.org/
[1] https://github.com/mrumkovskis/tresql https://github.com/mrumkovskis/tresql