-
-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running graphQL server on a different port (microservice) #172
Comments
To run GraphQL server produced by this starter kit simply set |
Thanks for your reply. I will try to create a PR when I reach the stage of my project when I have to deploy the server on a different node process. |
Sounds good, thank you @mairh ! |
@Vlasenko curious if this ever evolved beyond the discussion above. I too an interested in leveraging microservices and would like to be able to run the graphql server on a separate machine. I don't see anything in the docs mentioning it so I'm guessing the likelihood is that it didn't evolve. |
@strefethen At the time this discussion started, it was pretty difficult to make microservice based arch with GraphQL. Though the kit has been modular always and it was one step away from microservice-based arch if GraphQL and Apollo allowed that. We have never bothered because we saw that GraphQL is not ready itself. Two weeks ago Apollo Federation has been released: |
@Vlasenko thanks very much for the link and dialog on this, much appreciated. |
First of all thanks for developing and maintaining the starter kit. I would like to understand how can I run the GraphQL server as a microservice.
For e.g, I have to develop both web and mobile app using react and react native. However, I would like the web and mobile app to use the same GraphQL server available over https.
Do you have any pointers on how to achieve that? What I am trying to achieve at the end is what grahpcool guys are doing (you call the GraphQL server api endpoint in your app), which is not tightly coupled with the platform. So I can use the same GraphQL server on my web and mobile app.
The text was updated successfully, but these errors were encountered: