pouchdb-nw-hello-world

Demo of using PouchDB in NW.js (aka Node-WebKit)

Stars
12
Committers
1

PouchDB NW.js "Hello world" app

Simple "Hello World" app with NW.js and PouchDB. All it does it check that we can have a PouchDB backed by:

  • IndexedDB (browser default)
  • WebSQL (browser alternative)
  • LevelDB (using Node)

Usage

Just download the source code and run:

npm install
npm start

That's it! You should see:

nw-gyp tricks

In order to get this working in LevelDB, you have to recompile leveldown using nw-gyp. I figured out how to get this to work, and if you check out the postinstall script in package.json, you can learn too. (Because it's a postinstall script, it will actually do it automatically when you npm install.)

See pouchdb-nw for more instructions.

Thanks to cozy-desktop for pointing me in the right direction.