taylorgoolsby/graphql-to-sql
Unify your SQL schema and your GraphQL Schema. Use GraphQL SDL as the lingua franca to define your data requirements.
This tool helps developers who manage both GraphQL APIs and SQL databases. It allows you to define your data models using GraphQL Schema Definition Language (SDL) with special directives. It takes your GraphQL schema as input and automatically generates the corresponding SQL `CREATE TABLE` statements, ensuring your API and database schemas are always in sync. This is for backend developers or database administrators who build and maintain data-driven applications.
No commits in the last 6 months.
Use this if you want a single source of truth for your data models, defining them once in GraphQL SDL and automatically generating SQL table definitions for MySQL or PostgreSQL.
Not ideal if you prefer to manage your SQL schema directly through migrations or a database-first approach, or if your project doesn't use GraphQL.
Stars
16
Forks
2
Language
JavaScript
License
MIT
Category
Last pushed
Mar 19, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/taylorgoolsby/graphql-to-sql"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
mk3008/rawsql-ts
SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.
helios1138/graphql-typed-client
A tool that generates a strongly typed client library for any GraphQL endpoint. The client...
Shopify/syrup
A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.
denisart/graphql-query
Complete Domain Specific Language (DSL) for GraphQL query in Python.
swapnilmj/web-vqd
Design SQL "select" queries visually. SQL "joins" by drag-n-drop.