A lot of stuff today on - data storage + widget infrastructure

We now have DB + migrations + API + authentication/authorization on routes - all nerdy stuff to help with streamlined API and data model changes.
Sounds like overkill but it took about 2 days to set it up (had previous experience) and I know this will save us a lot of butt pain going forward.


On another front - Livio got its first widget. Preact + Typescript + some fancyness (Snowpack). Actually like how simple it turned out.

Found great example of doing that with React and Webpack https://github.com/seriousben/embeddable-react-widget - and built similar solution with Preact.

React + Webpack -> 300kb.
Preact + Snowpack -> 30kb.

Size- and buildtime-wise preact + snowpack rocks.