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.
- Host: GitHub
- URL: https://github.com/diraneyya/fastify-sse-starter
- Owner: diraneyya
- Created: 2022-09-28T18:16:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-22T21:53:39.000Z (over 3 years ago)
- Last Synced: 2025-11-16T17:32:14.232Z (7 months ago)
- Topics: education, educational, educational-project, fastify, fastify-sse-v2, full-stack, fullstack-javascript, realtime, server-side-events, sse, vanilla-javascript
- Language: JavaScript
- Homepage:
- Size: 385 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
