An open API service indexing awesome lists of open source software.

https://github.com/frsource/polling-websockets-sse-workshop


https://github.com/frsource/polling-websockets-sse-workshop

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# polling-websockets-sse-workshop

This repository contains multiple implementations of a simple chat application:

1. Short-poll implementation is on the [`main` branch](https://github.com/FRSOURCE/polling-websockets-sse-workshop/tree/main).
2. Long-poll implementation is on the [`long-poll` branch](https://github.com/FRSOURCE/polling-websockets-sse-workshop/tree/long-poll).
3. Websockets implementation is on the [`websockets` branch](https://github.com/FRSOURCE/polling-websockets-sse-workshop/tree/websockets).
4. SSE implementation is on the [`sse` branch](https://github.com/FRSOURCE/polling-websockets-sse-workshop/tree/sse).

## How to run

Install dependencies

```bash
npm install
```

Run the application

```bash
npm run dev
```

The client app will be available under http://localhost:3000/