Ishad-M-I-M / sketch-ballerina-federation-gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proof of Concept for Graphql Federation Gateway in Ballerina

This is proof of concept implementation for writing a graphql federation gateway in Ballerina.

ballerina-gateway

Hard coded code in Ballerina to act as a gateway for the given subgraph services. To start the gateway

cd ballerina-gateway
bal run

ballerina-subgraphs

Include 2 subgraph serivces written in Ballerina.

  • astronaut-service
  • missions-service

To start subgraph services run following command in respective directories.

bal run

javascript-subgraphs

Subgraph services written in javascript. To start the services execute

cd javascript-subgraphs
npm run services

About


Languages

Language:Ballerina 93.3%Language:JavaScript 6.7%