Ligang Yan颜力刚

Tag

nestjs

1 post

  1. Real-time updates from NestJS to Next.js with Server-Sent EventsA step-by-step tutorial: expose an SSE endpoint from NestJS with an RxJS Subject, consume it in Next.js with a small useSse hook, and push events from any service in your backend. Simpler than WebSockets when the data only flows one way.