When and How to use GraphQL with Microservice Architecture

前端 未结 9 1040
遇见更好的自我
遇见更好的自我 2021-01-29 17:13

I\'m trying to understand where GraphQL is most suitable to use within a Microservice architecture.

There is some debate about having only 1 GraphQL schema that works as

9条回答
  •  离开以前
    2021-01-29 17:34

    We also had similar concerns on the bootstraping a Microservices ecosystem with graphql. And we are able to solve it with Apollo GraphQL.

    We built these solutions from scratch for our One Platform. Folders ending with service are microservices others are SPAs aka (Single Page Applications)

    This consists of various microservices and spas with an API Gateway which is the primary interface for multiple microservices.

    Along with this you can find a OP CLI generator which can help to bootstrap a microservice from scratch.

    Project - https://github.com/1-Platform/one-platform

    I request to please have a look on this project and feel free to adopt if this looks good to you.

    Regards

    Rigin Oommen

提交回复
热议问题