Server Sent Events in Extension - Playground
This repository aims to show the use of server sent events within an extension.
How to run server
cd server
npm ci
node server.js
How to build the extension
npm ci
npm run build
How to ship build
npm run zip
Assets and Documentation
- Neutrino https://neutrinojs.org/
- Neutrino for WebExtensions https://github.com/crimx/neutrino-webextension
- React https://reactjs.org/docs
- Mozilla Documentation for WebExtensions https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
- Mozilla Documentation for Server Sent Events https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
- Server side inspiration https://www.digitalocean.com/community/tutorials/nodejs-server-sent-events-build-realtime-app
Maintainer
Corentin Mors |