Request for comments on a PostgREST based backend template implementation. #4198
Replies: 2 comments 4 replies
-
Cool pg + python stack! It does complete some pieces that postgREST needs to be a full-stack framework. Some thoughts:
A migration system is something many users have been asking over the years. We used to recommend sqitch, but nowadays I would want to document + recommend the extension-based approach Wolfgang mentioned here, which is looking like the most straightforward/integrated way. That coupled with pg_tle could even work on pg cloud vendors. Granted there are no docs about this yet.
A must-have too, also related to your previous question #4049. At current work I'm trying to come up with a more integrated way with pg_net, although it's not 1.0/stable yet.
We also use pytest for PostgREST io tests, I think right now it's the best option for integration testing. |
Beta Was this translation helpful? Give feedback.
-
Would you folks be open to adding a link to the fullstack-webapp-template repo to your templates section here? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following my initial questions in discussion #3952, I set out to build a backend template1 that sports the following features:
I am now keen to get feedback on the initial database migration which sets up the database for PostgREST (direct link): the following endpoints are added
/rpc/signup
to create a new account;/rpc/login
to log in;/profile
to view and update the a user’s profile;/rpc/job
to create and view async jobs.There are a bunch of
TODO
comments in the code, and I welcome any thought, suggestion, recommendation, criticism, concern, yay, nay as PR comments or discussion here.Thank you heaps 🤓
Footnotes
I’ve not yet added a frontend to the stack. ↩
Beta Was this translation helpful? Give feedback.
All reactions