Skip to content
A Java CLI program that generates a GraphQL schema from a JDBC data source.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
LICENSE.md Add license file Aug 4, 2017
README.md Update README.md Aug 4, 2017
build.gradle use released version of docopt to avoid snapshot dependency Jul 8, 2018
gradle.properties
gradlew initial commit Jul 30, 2017
settings.gradle initial commit Jul 30, 2017

README.md

CircleCI Status Awesome

RDBMS to GraphQL

This is a command line tool useful for generating a GraphQL schema from an RDBMS database. It currently works with MySQL & PostgreSQL. It can be extended to support other databases.

It offers support for reading tables & columns in a database, detecting foreign key relationships and representing these accurately as a GraphQL schema useful in a GraphQL server for querying the database.

Usage

RDBMS to GraphQL.

Usage:
  rdbms2graphql generate --jdbc-url=<JDBC_URL> --jdbc-driver=<JDBC_DRIVER> --username=<USERNAME> --password=<PASSWORD> [--schema=<SCHEMA>] [--tables=<TABLES>] [--output-dir=<OUTPUT>] [--verbose]
  rdbms2graphql --version
  rdbms2graphql [-h|--help]

Options:
  -h --help                   Show this screen.
  --version                   Show version.
  --verbose                   Verbose logging.
  --jdbc-url=<JDBC_URL>       DB JDBC URL.
  --jdbc-driver=<JDBC_DRIVER> FQCN of driver class.
  --username=<USERNAME>       DB Username.
  --password=<PASSWORD>       DB Password.
  --output-dir=<OUTPUT>       Output directory [default: ./generated-schema].
  --schema=<SCHEMA>           Output directory [default: '%'].
  --tables=<TABLES>           CSV list of tables to include [default: '%'].
You can’t perform that action at this time.