PGlite allows you to run a full Postgres database locally (especially in a browser) using WASM, with support for reactivity and live sync.