One data grid for JavaScript, React, Vue & Angular. Sorting, filtering, virtualization, pinning, and CSV export included. Early access $199 $349 → [Get it now]

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…