<commit_before># sql-to-graphql

Generate GraphQL schemas and/or server based on SQL table structure.

## What?

[https://facebook.github.io/graphql/](GraphQL) is pretty awesome, but getting started can be difficult - especially if you are unfamiliar with the concepts it introduces.

`sql-to-graphql` is a command-line utility that can help you get started. You give it the credentials to an SQL database (MySQL, PostgreSQL currently) and it will inspect the tables it finds and do one of the following:

- Generate a GraphQL-server based on Hapi
  - Set up a basic web-based playground that can query the server
- Print a proposed GraphQL schema<commit_msg>Remove another reference to the definition command<commit_after># sql-to-graphql

Generate GraphQL schemas and/or server based on SQL table structure.

## What?

[https://facebook.github.io/graphql/](GraphQL) is pretty awesome, but getting started can be difficult - especially if you are unfamiliar with the concepts it introduces.

`sql-to-graphql` is a command-line utility that can help you get started. You give it the credentials to an SQL database (MySQL, PostgreSQL currently) and it will inspect the tables it finds and do one of the following:

- Generate a GraphQL-server based on Hapi
  - Set up a basic web-based playground that can query the server
{'fraction_non_alphanumeric': 0.05980317940953823, 'fraction_numerical': 0.0, 'mean_word_length': 4.330645161290323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2576346', 'n_tokens_mistral': 345, 'n_tokens_neox': 336, 'n_words': 184}