in ,

Announcing GraphQLize Alpha | GraphQLize, Hacker News

Hello World,

I am excited and delighted to introduce, GraphQLize , an open-source JVM library for developing GraphQL API instantly from your existing PostgreSQL and MySQL databases.

It aims to simplify the effort required to expose GraphQL APIs over relational databases.

Why GraphQLize?

In the JVM ecosystem, developing GraphQL APIs to expose the data from the relational databases requires a lot of manual work. Right from defining the GraphQL schemas (either code-first or schema-first) to wiring them with resolvers and the database access logic, we spend a significant amount of our development time.

In addition to this , we also need to take care of optimizing the underlying SQL queries to avoid problems like N 1 queries. We have to account the maintenance of the resulting codebase as well!

GraphQLize will help you to overcome all these shortcomings. It provides you with an efficient GraphQL implementation in just few lines of code.

What is GraphQLize?

GraphQLize is a JVM library written in Clojure with Java interoperability. The crux of GraphQLize is generating the GraphQL schema and resolving the queries by making use of JDBC metadata provided by the JDBC drivers.

It currently supports Postgres (9.4 & above) and MySQL (8.0 & above).

Getting Started

Getting started With GraphQLize is simple and involves only a few steps.

  1. data source .
  2. Add a GraphQL API endpoint and use the initialized GraphQlize Resolver in the previous step.
  3. The actual implementation of these steps will vary based on which language (Java, Clojure) and framework (Spring Boot, Spark Java, Pedestal, etc.). Please refer the below links for more details.

    1. Java

  4. Clojure

    Pedestal Ring

  5. Vanilla Clojure
  6. Is It Production Ready?

    It will be in a few months.

    The objective of this alpha release is to get early feedback fro m the community.

    There are close to that I am planning to work on in the upcoming months to make it production ready.

    You can keep track of the progress by

    (Following the

  7. Subscribing to GraphQLize’s newsletter .
  8. Joining GraphQLize’s Discord .
  9. (#

How can I contribute?

GraphQLize is at its early stage now, and the codebase and the APIs are not stable yet.

So, at this instant, the best way to contribute is to initiate a chat in GraphQLize’s Discord channel or raise a GitHub issue with all the relevant details, and we ‘ ll take it from there.

# Oracle & SQL Server Support

One of the design goal of GraphQLize from day one is to support Postgres, MySQL, Oracle & MS SQL Server. To start with, I am focussing on getting it to a production ready state for Postgres & MySQL. After accomplishing this, I will be focusing on the other two.

(# Acknowledgment

(PostgREST , PostGraphile , (KeyStoneJs and Hasura are the inspiration behind GraphQLize.

GraphQLize is not possible without the following excellent Clojure libraries.

  • (HoneySQL)
  • Lacinia
  • next-jdbc
  • inflections data-json
  • The samples in the documentation of GraphQLize uses the Sakila database from (JOOQ) extensively.

    Cheers,
    Stay Safe & Tuned !!

    (Read More )

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

“I’m Not An Epidemiologist But…”: The Rise Of The Corona Influencers, Hacker News

“I’m Not An Epidemiologist But…”: The Rise Of The Corona Influencers, Hacker News

As India Goes On Lockdown, Coronavirus Suspects Going AWOL A Real Worry – NDTV News, Ndtv.com

As India Goes On Lockdown, Coronavirus Suspects Going AWOL A Real Worry – NDTV News, Ndtv.com