Taking into consideration the microservices architecture, let's say that we have two microservices which are exposing graphQL at
localhost:4000/graphql
localhost:4001/graphql
Now I need to write one application gateway layer in nodeJS , say exposed at
https://hostname/api
via kubernetes ingress rule.
Now please help in following contexts -
How can I call services S1 and S2 mentioned above, via this application gateway
a. If they are dependent on each other
b. if they are independent of each other