I have the below spring boot graphql microservices in java
- /graphql1 - with User service
- /graphql2 - with Product service
All these 2 microservice run on different ports.
I would like to host these 2 microservices through one single graphql api gateway i.e. /graphql
.
Like when the, query is userlist - api should redirect the request to /graphql1 - User service
I have read about apollo gateway. Use of apollo gateway in this scenario is a good option?
or how to create graphql api gateway to fullfill this scenario.
Any reference and guidance is appreciated.