3 ms·
Or just use an API generator like https://apibakery.com https://apibakery.com , https://amplication.com https://amplication.com or another with your favorite fr
by senko 4y ago
Or just use an API generator like https://apibakery.com https://apibakery.com , https://amplication.com https://amplication.com or another with your favorite framework and call it a day.
- bmn__ 4y agoAPI Bakery requires a user to tediously and manually replicate the DB schema. In my eyes, that makes it worse than the solution under discussion.
- senko 4y agoOh if you have a database already and want to expose it, then yeah, it does make sense to go with the API adapter bolted onto it. If you're starting from scratch (as the post is, since PostgreSQL is advertised as part of the solution), then you have to manually create the DB schema. I would argue that a Node developer would find it easier to do that in Prisma, or a Django developer in Django ORM, than to do raw CREATE TABLE queries manually.
- ushakov 4y agoDo I have to generate my API from scratch if the schema changes? If so, this solution is a no-go