Show HN: Glue4 is a Redux extension that handles your back end concerns
beta.glue4.devWe built Glue4 to scratch our own itch: whenever we start building an app, there’s all these different layers that need to be pieced together with subtle gotchas (auth, backend, DB, where to host, etc). The vast majority of the apps we build don’t really need anything beyond state persistence and authentication.
And that’s what Glue4 abstracts away: having to host our own backend, pick our own DB, figure out the querying language/ORM and then host & maintain them all somewhere “in the cloud”. All you need to do is run a single npm install command and you get Auth + state persistence in the backend out of the box.
Fire away with critiques/questions/anything really :) Hey guys, congratulation on the launch! This look promising, I have a few questions:
1. How is this different from Firestore?
2. How is the data stored? Will I have a first request that will download the whole store for each user?
3. What's your roadmap? Thanks, and I appreciate the questions: 1. Glue4 is not a query storage nor technically a "real-time" database, so the trade offs are different (you don't have to use a proprietary SDK to query your data, everything is in your Redux store as a JSON object). As well, this is a plug and play Redux add-on, you don't need to change anything about your current application. 2. It's represented as JSON-serializable data. The storage abstraction is an implementation detail. Currently it's literally serialised to disk, but we can just as well store it in DynamoDB, Mongo, PostgreSQL's JSONB column, etc. We will eventually support complex data (like images, videos, BigInt, etc) and transparently serialise/deserialise them for you and persist them for you in the appropriate storage (i.e. if you add an image to your Redux state as a user avatar, we will upload it to a blob storage and send it through a CDN for future fetches, all transparent to you as the developer). 2.a.: Yes, for the current version that is the case. Local persistence (offline first) is definitely something we want to support down the road! 3. A high level roadmap is actually available on our website if you scroll down :). Let me know if there's anything else :D! Thank you for the details. The databases integrations looks similar to keyv https://www.npmjs.com/package/keyV