by bburns_km · 2y ago · 0 comments
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 ``` ??)
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.