Show HN: Triplit – The Full-Stack Database
github.com
github.com
It works by running an instance of TriplitDB both in your client-side app and also on the server then efficiently syncs any queries you run on the client in real-time from the server over WebSockets. And because you have a complete database instant on the client, it works completely offline. Handling collaboration is a lot easier with Triplit because each entity you store gets split into its individual properties so conflicts that may occur when multiple users are editing concurrently are solved granularly on a per-attribute basis rather than the entire JSON document.
We're in the process of building out a Firebase-like service (in private beta currently) but in the meantime you run the entire Triplit stack locally with our CLI. Happy to answer any questions!