Last month, a few developers and I worked on building a solution to this problem. We decided to create GraphQL Designer to allow developers to rapidly prototype a full stack CRUD implementation of GraphQL, from the database to client. A simplified GUI allows developers to export production level database, server and client side code to be dragged and dropped into their codebase.
How to use Simply visit GraphQL Designer and choose a database model to implement (MongoDB or MySQL). Based on the database selected, our application will generate the code for your database schemas or build scripts and GraphQL resolvers.
Next create a table for every GraphQL type your application will need. Each table created will also represent the structure of your NoSQL schema or SQL table. Each created table in our application can have several fields, which not only becomes a GraphQL field, but a SQL column or NoSQL key as well.
The fields can be customized to meet your desired database structure, and using relations, can dynamically make the resolvers for each GraphQL type. By default at this point, our application can auto generate a server file, database setup code, and GraphQL types, root queries, mutations, and client queries. Lastly export your code to your local storage!
Checkout the code in the GitHub repository https://github.com/GraphQL-Designer/graphqldesigner.com
And if you have any thoughts or suggestions, please leave us feedback. This is a passion project for each of us, and we are actively exploring ways to improve it.