Accelerate Your GraphQL Development

Building a GraphQL server can be complex and time-consuming. Graph2SQL significantly simplifies this workflow by automating the creation of your GraphQL API from your existing SQL database. It handles the tedious boilerplate code, letting you focus on the most important task: building the bespoke business logic of your application.

Whether you’re starting a new project or integrating with a legacy system, Graph2SQL acts as a rapid prototyping tool, taking you from schema to server in minutes. It is configured using GraphQL directives, giving you granular control over how your schemas are mapped, what mutations and queries are generated, and how APIs are secured.

Graph2SQL also streamlines schema design by automatically generating query fields based on your database indexes, ensuring your API is performant from day one.

Customization and AI assisted development

Graph2SQL is designed with customization in mind. While it uses industry-standard ORM libraries to bridge the gap between GraphQL and relational schemas, it allows you to insert your own custom or AI generated implementations; the data access layer is built on an interface, so you can provide your own custom DAO implementations. You can also add custom or AI generated resolvers that sit alongside the database CRUD resolvers automatically generated by Graph2SQL.

Supported Databases & Technology

Graph2SQL supports a wide range of databases: MariaDB, MySQL, Oracle, Postgres, SQLite, and SQL Server. It generates NodeJS TypeScript GraphQL servers, and all generated code is royalty-free, giving you complete control and flexibility.

Key Features

Demo

You can use a browser based version of Graph2SQL for a free one-month trial. The browser version uses an embedded SQLite database (sql.js), and apart from that limitation, it is functionally identical to the desktop edition of Graph2SQL, which is packaged as a Docker image you run locally.

In the demo you can:

The Graph2SQL GitHub repository contains working examples that run across all supported databases, including:

Pricing

Graph2SQL is available on either a monthly subscription or a discounted annual license. All licenses are floating, so they can be reassigned to any member of your team.

Standard pricing: £25/month or £250/year
Volume pricing (50+ licenses): £20/month or £200/year

You can stop your subscription at any time and restart it at a later date. There are no runtime dependencies on Graph2SQL and the Graph2SQL licence specifies that the code generated is royalty-free and belongs to you.

Documentation

The Getting Started guide introduces the core concepts of Graph2SQL and walks you through its main features directly in your browser with zero installation.

The Installation manual explains how to install the desktop edition of Graph2SQL, which is packaged as a Docker container.

The Tutorial guide walks you through the UI of Graph2SQL: setting up database connections, creating projects, converting SQL ↔ GraphQL schemas, generating GraphQL input types, queries, and mutations from GraphQL types, and generating a runnable GraphQL server. It also explains Graph2SQL’s directives, which are the key mechanism for controlling schema mapping and code generation. The approach of how custom code is integrated with code generated by Graph2SQL is described in detail.

The Reference manual is an in-depth technical reference covering all project and global settings (e.g., how to ignore specific tables), directive semantics, and type-mapping rules: how database types, GraphQL built-in and custom scalar types, and TypeScript types are defined and converted into SQL and programming-language types.

Support

All support for Graph2SQL is handled through the Graph2SQL GitHub support repository.

Please use GitHub to:

If your schema is private, you can create a private GitHub repository and share it with the GitHub user graph2sql. Using GitHub ensures that all issues and solutions are visible to the whole community.

Contact

We welcome inquiries about partnership opportunities. We are particularly interested in working with GraphQL consulting firms and system integrators who can use Graph2SQL to accelerate client projects.

For general inquiries, please reach out via email.
For technical support, please use the Graph2SQL GitHub support repository.