CoreUI ONE — 250+ PRO components and 25+ admin templates for React, Angular, Vue, Bootstrap and Next.js, plus Data Grid, Scheduler, 4,300+ PRO icons and the Next.js boilerplate. One license. → See what you get

How to expose gRPC in Node.js

Exposing gRPC services in Node.js enables building high-performance microservices that communicate using protocol buffers. As the creator of CoreUI, I’ve built gRPC servers for real-time data processing, inter-service communication, and high-throughput APIs. The standard approach uses @grpc/grpc-js to create a server, define service implementations, and bind them to network ports. This provides type-safe, efficient service endpoints that outperform traditional REST APIs for many use cases.

Read More…

How to consume gRPC in Node.js

Consuming gRPC services in Node.js enables high-performance communication with microservices using protocol buffers instead of JSON. As the creator of CoreUI, I’ve built numerous systems that consume gRPC services for real-time data processing and inter-service communication. The standard approach uses the @grpc/grpc-js package with .proto files to define service contracts and generate client code. This provides type-safe, efficient communication between services.

Read More…
Subscribe to our newsletter
Get early information about new products, product updates and blog posts.