No comments yet.
I have built a library called graphql-server-crud. It is a lightweight javascript framework/library to help you build a GraphQL server efficiently. It aims to reduce your code size, save you time and gives you the flexibilities you need.
I am aware of there is Prisma, Hasura out there already, both of which are pretty popular at this point. The reason I built my own is for one of my toy project. Basically I'd like something like Hasura, but in code, not as a service.
Here are some philosophies when building the lib:
1. Reduce the CRUD related code you need to write.
2 It is code, not black box service, you have full control about logic, deployment, etc.
3. You don't need to learn new random definitions: syntax, directive, magic, etc.
4. It coexists with your existing project.
5. Support multiple databases: it should support what knex supports.
6. It is not discouraged to build your own complicate queries to support complicate use case.
The library works pretty well for my toy project. And I am curious of what other features you may want. I do plan to make it more robust to suit more needs.
Any feedback/comment is appreciated.
Thanks!
The lib: https://github.com/charlie0077/graphql-server-crud