pouchdb / pouchdb

:kangaroo: - PouchDB is a pocket-sized database.
https://pouchdb.com/
Apache License 2.0
16.89k stars 1.47k forks source link

Couch-persona / firebase / meteor type thing #1481

Closed daleharvey closed 10 years ago

daleharvey commented 10 years ago

So this is rather vague, but it could be pretty exciting

Typically open source projects like this aim at developers at the low level, to really use pouch in a production system you need to deal with all sorts of stuff, setting up a couchdb instance, dealing with users auth etc

I want to think about pouch more like a startup, my benchmark being, how easy can we go from hearing about pouch, to taking a client side app like http://todomvc.com/, and have it work offline, have users login and have it magically sync

I tested this with http://done.gd/ (code https://github.com/daleharvey/done), and I think we can make it very easy, this splits up into lots of different things

daleharvey commented 10 years ago

Also a good idea would be to take a look at the sign up / ramp up process for firebase / meteor and get an idea of how simple I would like it to be to start using pouch

daleharvey commented 10 years ago

So another way to think about this is, instead of thinking about it as a service type thing, I want people to be able to do the getting-started tutorial (http://pouchdb.com/getting-started.html) without having to install couchdb and all that stuff themselves

I want a lightweight, no guarantees, your data may dissapear at any moment server on somename.pouchdb.com so people can start playing with this stuff asap

daleharvey commented 10 years ago

On that note, I dont think we would merge an offline mode for persona into daleharvey/done, I think its worth doing and I would use it elsewhere, but I think it would complicate that code that should be as simple as possible

Maciej you mentioned you dont like todomvc as a based due to it being complicated, I dont disagree that as a first contact with pouchdb it is large, however this is replacing a home brew version I had written, the reason I prefer this is

I think its the perfect example of "this is how to take a simple app and get it syncing", calling that "getting started" is probably wrong / ambitious, but we can just not call it that

daleharvey commented 10 years ago

underway @ https://github.com/pouchdb/janus