Coding @couchdb is one thing, but do you have a CouchDB mindset? 🧩

We’ve just added 2/4 parts of an in-depth tutorial to our blog: a real-time multi-user Kanban board with CouchDB and @sveltejs.

Spoiler: no server-side code to start. Relaxing, right?

Part 1 covers requirements, challenges and trade-offs. The main challenge? *Conflicts!*

Core principles to avoid them: Making data granular + updating as few docs as possible

Check it out: https://neighbourhood.ie/blog/2024/12/05/realtime-multiuser-kanban-board-with-couchdb

More on part 2 🧵

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    Nice. Will give this a read later when I have some time.

    Adding PouchDB to my Svelte project has been on my to-do list for a while; just haven’t gotten around to to it yet. Was originally looking for just an IndexedDB library, and Pouch can do that and more.

    I’ve got plans for Pouch on the client side, but I haven’t yet decided how or if I’m going to leverage Couch on the server-side. Current idea is to use it for syncing the app’s settings/preferences/state across devices.