Ask HN: What do you think a good GraphQL boilerplate needs?
https://news.ycombinator.com/item?id=19207461On my last project that involved GraphQL, I spent an inordinate amount of time fixing version/library conflicts, reinventing the wheel for things that should honestly be available out of the box (user groups, access control, auth, etc) and generally wrestling with the whole ecosystem in order to get it working the way I want to.
That's why I've decided to go and write an opinionated full-stack boilerplate generator for GraphQL that comes with batteries included and tries to automate as much of the repetitive work as possible. I'm pretty set on JavaScript for the whole stack, with Postgres as the database and React for the frontend. I can't decide between Prisma and Sequelize for the ORM.
Which do you think is more appropriate?
My chief goal is to have the user only define the most elementary elements of their API (such as the data model) and have the boilerplate generate everything else - all the way from the database to the frontend CRUD UI, with sane defaults that could be modified by the user to suit the project's particular needs.
What do you think a good GraphQL boilerplate generator would need in order to satisfy your needs?