• Stars
    star
    288
  • Rank 143,301 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An example Swarm+React project

TodoMVC app using React.js+Swarm.js combo

This demo is a showcase for key features of the Swarm library:

  • isomorphic js (node.js server part does full page render)
  • real-time sync (open the exact same page in two tabs/browsers)
  • offline work (turn the internet off, then load the page :) )
  • caching (work offline, close the browser, open when online)

Step by step:

git clone https://github.com/gritzko/todomvc-swarm
cd todomvc-swarm
npm install
npm start

...then open it http://localhost:8000/SomeTodoName

There is a blog post introducing the demo: http://swarmjs.github.io/articles/todomvc/

Normally, this demo is online at: http://ppyr.us

See our Twitter account at: http://twitter.com/swarm_js

Feel free to contribute issues, bugfixes and feedback.

It is recommended to contact @gritzko before doing non-trivial pull requests.