Cosmo Connect Tutorials for Router Plugins and gRPC Services
Blog post from Wundergraph
Cosmo Connect offers a streamlined approach to building federated GraphQL APIs, eliminating the need for backend teams to manage GraphQL servers by providing tools such as Router Plugins and standalone gRPC Services. The Router Plugins are lightweight subgraphs compiled to binaries, managed directly by the Cosmo Router, which simplifies deployment and reduces latency, while gRPC Services are independent processes ideal for teams requiring clear ownership and flexible deployment. The platform allows developers to define schemas, generate gRPC code, and run business logic efficiently, facilitating integration into a federated graph without separate service deployment. Through three tutorials, users can learn to deploy a Router Plugin, create a gRPC service, and explore an advanced demo that combines plugins with standalone GraphQL servers, demonstrating a mixed architecture that can bridge external services without rewriting backends. The tutorials highlight schema-first GraphQL development with automatic protobuf and gRPC code generation, providing strong typing and seamless integration with external APIs, offering different approaches to fit various team needs and scaling requirements.