Skip to content

SSE is a technology that enables real-time communication between a server and a client. This repository provides a straightforward approach to implementing SSE in your NestJS applications.

License

Notifications You must be signed in to change notification settings

diegodario88/server-sent-events

Repository files navigation

NestJS Server-Sent Events

The NestJS Server-Sent Events repository is a practical resource that demonstrates the integration of Server-Sent Events (SSE) with NestJS. SSE is a technology that enables real-time communication between a server and a client. This repository provides a straightforward approach to implementing SSE in your NestJS applications.

demo.webm.mp4

Key Features

  • NestJS Integration: Learn how to seamlessly integrate SSE functionality into your NestJS application. The repository includes well-structured code examples and best practices for a smooth implementation.

  • Real-time Communication: Experience the power of real-time communication with SSE. Establish and maintain a persistent connection between the server and clients, enabling instant updates.

  • Event-Driven Architecture: Explore how SSE fits into event-driven architecture. Define and handle custom events, allowing clients to subscribe to specific event types and receive targeted updates.

  • Scalability and Performance: Discover techniques for optimizing scalability and performance. Learn how to efficiently manage multiple clients and minimize server resource usage.

Installation

$ npm install

Running the app

# watch mode
$ npm run start:dev

Access http://localhost:3000 to see the client

Contributing

Contributions are welcome! If you find a bug or want to add a new feature, please submit an issue or a pull request.

License

This project is licensed under the MIT License.

About

SSE is a technology that enables real-time communication between a server and a client. This repository provides a straightforward approach to implementing SSE in your NestJS applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published