Skip to content

Comment on Poor Man's Firebase: LevelDB, REST, and WebSockets

Comments

I don't want to sound negative towards you project, but why not use CouchDB [0], along with TouchDB [1] for mobiles and PouchDB [2] for the browser ?

[0] https://couchdb.apache.org/

[1] http://touchdb.org/

[2] http://pouchdb.com/

There is no project... just experimentation with LevelDB. All of those solutions that you provided require an installation of CouchDB on the server side. Therefore, a bit out of scope of building a quick hacky Firebase clone using LevelDB modules.

Actually, that's not true: PouchDB runs on node (via LevelDB) and doesn't need an actual couch server. :)

I'm not sure about that. The doc [0] says that there are some static files that should be distributed by whatever HTTP server you want (they suggest python's simple http server) After that, it's all js in the browser.

Edit: I see what you mean: Pouchdb-server [1] is a couchdb-compatible server that speaks the same sync protocol. If you don't want to install it, you can work with any hosted couchdb-speaking cloud instance, such as iriscouch [2] or cloudant [3]

[0] http://pouchdb.com/getting-started.html

[1] https://github.com/nick-thompson/pouchdb-server

[2] http://www.iriscouch.com/

[3] https://cloudant.com/

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.