4 ms·
I’ve used Prest (the Go reimplementation of PostgREST) because I could more easily customize or bring it in as a library in a larger application.
by tomberek 4y ago
I’ve used Prest (the Go reimplementation of PostgREST) because I could more easily customize or bring it in as a library in a larger application.
- gregwebs 4y agohow do you customize it and use it as a library? Using it as a framework is deprecated now? I didn't see docs talking about this.
- tomberek 4y agoPretty sure I started with this: https://github.com/prest/prest/blob/main/cmd/root.go https://github.com/prest/prest/blob/main/cmd/root.go And from there you can execute your own command and add handlers or other things as you wish.
- euroderf 4y agoI wonder if there's an SQLite version somewhere.
- __oh_es 4y agoMore feature rich but perhaps this? Been dying to toy with this and fslite https://github.com/pocketbase/pocketbase https://github.com/pocketbase/pocketbase
- xrd 4y agoAbsolutely love pocketbase. And, interesting to note that using triggers within pocketbase isn't well supported because they do a dry run insert to check against constraints and then delete it if the constraint fails. https://github.com/pocketbase/pocketbase/discussions/650#discussioncomment-3744699 https://github.com/pocketbase/pocketbase/discussions/650#dis... I mention this because the OP inquired about stored procedures, somewhat related. Still, pocketbase is so amazing.
- jhd3 4y agohttps://datasette.io/ https://datasette.io/?
- euroderf 4y agoThanks to these comments I've taken a deeper look at both Pocketbase and Datasette. I wonder, could I use replication to keep the DB of Datasette (operating in read-only mode) in sync with the DB of Pocketbase.