Comment by bburns_km
2 days ago
I had recently been experimenting with pouch/couchdb, and got it working locally, then came across a post on reddit about Fireproof. I really liked how it sounded - like the evolution of pouch/couch.
So I set it up on a node app - it works great locally -
import { fireproof } from '@fireproof/core'
const db = fireproof(dbname)
db.put(doc)
async read(id) {
if (id) return await db.get(id)
return await db.allDocs()
}
Then I wanted to sync the data to the cloud - just the simplest thing possible, but I got lost in all the connector options and descriptions. I tried setting up PartyKit, but got bogged down in it all and eventually went on to something else.
So it would be great if the home page included a simple demo with a connector - Amazon S3 or PartyKit - including setting up the cloud db.
Thanks, and good luck with everything - it looks amazing...
(side note: HackerNews doesn't let you format code with ``` ??)
Thanks for the feedback. That is a bridge we are crossing now. We started with open source backends for maximum coverage, and are standing up Fireproof Cloud now as the easy default. If you click "inspect data" in the demo CodePen app, it will show you a live replication in our dashboard.
We'll be adding auth and sharing controls soon, so you should be able to build basic apps with just Fireproof and an HTML host.
Thanks, looking forward to all that - will keep an eye out.