serinus-microservices

Build Serinus microservices with gRPC and non-HTTP transports.

108|11|Updated Jan 25, 2023
One-click install
npx skills add https://github.com/francescovallone/serinus --skill serinus-microservices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: serinus-microservices
Source: https://github.com/francescovallone/serinus/tree/main/packages/serinus/skills/serinus-microservices
Command: npx skills add https://github.com/francescovallone/serinus --skill serinus-microservices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Serinus microservices enable developers to build scalable, transport-based services using createMicroservice, RpcController, RpcRoute, and the serinus_microservices ecosystem, decoupling business logic from transport layers.

Core Features & Use Cases

  • Build request-response services with onMessage and RpcRoute
  • Implement event-driven consumers with onEvent and RpcRoute
  • Integrate transport clients via ClientsModule and support gRPC; attach microservices to HTTP apps with connectMicroservice for mixed architectures

Quick Start

Create and run a Serinus microservice by calling serinus.createMicroservice with your AppModule and a transport configuration.

Frequently Asked Questions about serinus-microservices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build microservices in Serinus using non-HTTP transports?

Build Serinus microservices by calling createMicroservice with your AppModule and a transport configuration, decoupling business logic from the transport layer using RpcController and RpcRoute.

How does gRPC integration work with Serinus microservices?

gRPC integration works by using transport adapters and ClientsModule to attach transport clients, enabling scalable request-response and event-driven communication across modular apps.

Can I attach a microservice to an existing HTTP app in Serinus?

Yes, you can attach microservices to HTTP apps using connectMicroservice, allowing you to build mixed architectures that support both HTTP and non-HTTP transport layers.

What is the difference between request-response and event-driven patterns in Serinus?

Request-response patterns use onMessage with RpcRoute for direct replies, while event-driven consumers use onEvent with RpcRoute to handle asynchronous events across the transport layer.

Do I need ClientsModule to manage transport clients in Serinus microservices?

Yes, ClientsModule is required to integrate transport clients and support gRPC, managing the bootstrap, routing, and client management APIs for your microservice architecture.