3 ms·
I also had a go at this recently, I wrote a backend in node that supported 'data plugins' that can generate events, which are then published to an angular app.
by timvdalen 11y ago
I also had a go at this recently, I wrote a backend in node that supported 'data plugins' that can generate events, which are then published to an angular app.
I targeted a mobile device behind a mirror, so I included functionality that made the front-end refresh the page (and possibly load new front-end code) upon a special message from the backend.
That way, I didn't have to connect the device for every update.
I never quite finished any useful data plugins except for the weather, but if anyone's interested the code is here:
https://github.com/timvdalen/webmirror-back https://github.com/timvdalen/webmirror-back
https://github.com/timvdalen/webmirror-front https://github.com/timvdalen/webmirror-front