maxkerp / example-orbitdb-todomvc

TodoMVC with OrbitDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TodoMVC with OrbitDB

Serverless and collaborative Todo lists

TodoMVC application using OrbitDB as a database for the todo list and IPFS as the storage and networking. This is an example to demonstrate how OrbitDB enables multi-user, real-time and serverless editing of a dataset.

Work in progress

LIVE DEMO

Install

git clone <repo>
cd repo/
npm install
npm run build

Run

npm start

Open your browser at http://127.0.0.1:8080

Collaborative editing by multiple users

To collaborate on a TODO list, open the same url in another browser or incognito window. You should see the TODO lists sync automatically.

More Info

This example is based on React TodoMVC.

  • Initializing OrbitDB and IPFS happens in store
  • OrbitDB calls happen in model
  • The database and app are hooked together in app

Contribute

We'd be happy have contributions! If you find any issues, have suggestions for new features or would like to improve the project, please open an issue.

About

TodoMVC with OrbitDB


Languages

Language:JavaScript 78.0%Language:HTML 17.6%Language:Shell 3.2%Language:CSS 1.2%