image credit: Unsplash

Using GraphQL and Ballerina With Multiple Data Sources

July 1, 2022

Via: InfoQ

In today’s digital transformation era, making applications and web services talk to each other is unavoidable and APIs allow communication between those applications. Various protocols and specifications will result in the API architecture at the end, defining the semantics and syntax of how the messages are passed across the wire.

In this article, we explore how we can expose the data in a MySQL database as an API using GraphQL with the Ballerina programming language. GraphQL is a specification that abstracts the underlying data sources, leaving developers the flexibility to work with data sources such as databases or REST API using any programming language they prefer.

Read More on InfoQ