The difference between this and openapi code generator (I think) is that I made a few specific decisions in the builtin templates that help get internal business apps off the ground faster. But since it's designed around a template system you could do whatever you want with it. And of course openapi is much more mature just generally speaking.
It's different from PostgREST in that it doesn't dynamically read schemas from the DB during the application server runtime. You generate an application from the DB up front and then you can do whatever you want with that generated application afterward.
Re:DBCore
by eurasiantiger on Monday November 08, 2021 @05:30PM
(#29155129)
How to migrate to a backwards-incompatible version of the schema without data loss?
This project has no state so to migrate your db you'd turn off the generated app, migrate the db, regenerate the app, and turn it back on.
When I used a similar-ish library, the answer was mostly: don't make backwards-incompatible versions of the schema
Re:DBCore
by algo_trader on Tuesday November 09, 2021 @08:16AM
(#29161293)
Are there any UI-generators that can go with postgrest?
Dbcore looks so great, but i cant really stomach adding another language (Go..) to the mix.
I haven't used any of them, but PostgREST lists a bunch of client libs in a variety of languages in their docs. [0]
If you're worried about another language in the mix, you should know that PostgREST is powered by Haskell.
[0] https://postgrest.org/en/v8.0/ecosystem.html#client-side-lib...
You can try https://dadabik.com (disclaimer: I am the author/founder).
If the author is reading, assuming I'm using Postgres and typescript, in what situations would I choose this over PostgREST + any openapi code generator?