Generate GraphQL Schemas and Resolvers from existing Database
Summary of my bookmarked Github repositories from Jun 7th, 2023
db2graphql is a tool that generates a GraphQL schema and resolvers from an existing relational database. It is compatible with popular frameworks like Express, Koa, Hapi, and Apollo Server. With support for PostgreSQL, MySQL, and MSSQL databases, it converts the database schema into a JSON schema and generates a GraphQL SDL schema with convenient types, queries, and mutations. It also provides a generic GraphQL resolver for API prototyping and allows adding or overriding resolvers. The tool has some limitations and areas for improvement, such as better database types handling and queries optimization.