Hello guys, I am a newbie here and I am trying to learn how to create a modular ApolloGateway using federation. I watched a number of videos and tutorials where I see that the ApolloGateway and the different subgraphs are using different ports (like 4000 for the gateway and 4001,4002… etc for the subgraphs services).
I integrated my apolloServer on Next.js project via apollo-micro and deployed on Heroku.
Im not sure I can expose multiple ports on Heroku though therefore I’ve been thinking whether I can use the same port for the gateway and the subgraps simultaneously.
Is that possible?
Thank you