Every time a change is made to the Google Sheets spreadsheet (so you don't have to explicitly run npm run syncdb every time), the Directory gets updated in Firebase.
In /js/directory.js here, we just have to listen for the item changes from the Firebase reference, re-render the changed items in ul#directory-list (ideally using the same Nunjucks template, fragment-directory-item.html, plus some virtual-DOM diffing, using virtual-dom/mithril/etc.).
Every time a change is made to the Google Sheets spreadsheet (so you don't have to explicitly run
npm run syncdb
every time), the Directory gets updated in Firebase.In
/js/directory.js
here, we just have to listen for the item changes from the Firebase reference, re-render the changed items inul#directory-list
(ideally using the same Nunjucks template,fragment-directory-item.html
, plus some virtual-DOM diffing, using virtual-dom/mithril/etc.).