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

https://github.com/diraneyya/fastify-sse-starter

A starter SSE (Server-Side Event) project containing both the frontend and the backend. The frontend has 5 lines of Javascript and the backend is equally minimal to keep it simple and easy to understand.
https://github.com/diraneyya/fastify-sse-starter

education educational educational-project fastify fastify-sse-v2 full-stack fullstack-javascript realtime server-side-events sse vanilla-javascript

Last synced: 16 days ago
JSON representation

A starter SSE (Server-Side Event) project containing both the frontend and the backend. The frontend has 5 lines of Javascript and the backend is equally minimal to keep it simple and easy to understand.

Awesome Lists containing this project

README

          

# Fastify SSE Starter

This application is incredibly simple, but also powerful.

## Backend

The backend can be launched with the following simple commands:
```
npm i
npm run dev
```

## Frontend

The frontend is simply an HTML file which can be found at `client/index.html`.

To launch the frontend. Simply open that file in the browser 😀

## And then?

Try to open multiple tabs in the browser with the same frontend, then, follow the instructions.

![](./screenshot.jpg)