{"repo":"ballerina-platform/module-ballerina-graphql","free":true,"listed":false,"github":"https://github.com/ballerina-platform/module-ballerina-graphql","clone":"git clone https://github.com/ballerina-platform/module-ballerina-graphql.git","description":"The Ballerina GraphQL module is part of the Ballerina Standard Library. It is a spec-compliant, production-ready GraphQL implementation for writing GraphQL APIs in Ballerina.","language":"Ballerina","stars":139,"topics":["hacktoberfest","ballerina","graphql","graphql-client","graphql-federation","graphql-schema","graphql-server","integration","library","wso2"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Ballerina GraphQL Library Overview This library provides APIs for connecting and interacting with GraphQL endpoints. GraphQL is an open-source data query and manipulation language for APIs. GraphQL allows clients to define the structure of the data required and the same structure of the data is returned from the server, preventing the returning of excessively large amounts of data or reducing the number of requests sent to the server. The Ballerina GraphQL implementation is using HTTP as the underlying protocol. Listener The graphql:Listener is used to listen to a given IP/Port. To create a graphql:Listener , an http:Listener or a port number can be used. Create a standalone graphql:Listener Create a graphql:Listener using an http:Listener Service The Ballerina GraphQL service represents the GraphQL schema. When a service is attached to a graphql:Listener , a GraphQL schema will be auto-generated. The GraphQL services are exposed through a single endpoint. The path of the GraphQL service endpoint can be provided via the service path of the GraphQL service. The endpoint of the following Ballerina GraphQL service will be /graphql . The GraphQL service endpoint URL will be : /graphql . Alternatively, a Ballerina graphql service can not have a path, in which case the endpoint will be the host URL and the port as following example. The GraphQL service endpoint URL will be : Alternatively, the listener and service initialization can be combined into a single statement as follows: Q","default_branch":null,"files":null,"tree":[],"storefront":"/r/ballerina-platform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ballerina-platform/module-ballerina-graphql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}