All examples By author By category About

mattborn

muon

μ

“the muon is not believed to have any sub-structure” (Wikipedia)

Description

Muon uses Node, Express, Backbone, and React to allow data-driven applications in the browser to read data from and save data to a static file on the server while keeping track of changes between saves with local storage.

When the app initializes, it first checks for data in local storage in case there was a refresh or there were unsaved changes from a previous session. If there is no local storage data, it will get data from a static file on the server. If there is no static file on the server, it will use default data and create a file on the server as soon as the first set of data changes is saved.

That’s right. Persistent, intelligent, dynamic data storage without a database.

Usage

  1. Run this in Terminal:
npm install && node app.js
  1. Open localhost:1936 in your browser.

  2. Press buttons.

  3. Make smart things without a database.

Support

@matthewcyan