[go: up one dir, main page]

Skip to content

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.

Notifications You must be signed in to change notification settings

diraneyya/fastify-sse-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages