Couch also has sharding functionality which could well go some length towards covering client sync and things of that vein.
On Thu, Feb 2, 2012 at 2:07 AM, Tim Caswell <[email protected]> wrote: > Why not use couch directly? It's interface is http and thus available > to all the clients. If you have other or static resources that need > to be on the same domain, a node http proxy in front of couch might > work. > > Of course if your query requirements don't work with couch's api, then > that may make things complicated. > > You could build your own pretty quickly. Just expose the APIs using > express or raw connect/stack. To start out, you can use a simple > in-memory object and then later replace it with something more > substantial. Just be sure to not assume sync access to the db. > > > On Wed, Feb 1, 2012 at 12:00 PM, Dave Feldman <[email protected]> > wrote: > > Hi, I'm relatively new to Node but not to JS in general. I'd like to > > create a fairly straightforward JSON API to be used by some > > combination of desktop, mobile, and web apps. Users will use it to > > store their data in the cloud. I'm not married to a particular storage > > mechanism -- MySQL, MongoDB, Couch, whatever. The API has to support > > querying, adding, removing, and updating structured data; some sort of > > change-tracking so I can sync with a client; and multiple user > > accounts including creation, password changes, authentication, and > > deletion. All pretty straightforward, I think. > > > > What's the quickest way to build something like this in Node? Are > > there good modules that would give me some or all of that > > functionality out of the box? > > > > Thanks! > > > > Dave > > > > -- > > Job Board: http://jobs.nodejs.org/ > > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > You received this message because you are subscribed to the Google > > Groups "nodejs" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > > http://groups.google.com/group/nodejs?hl=en?hl=en > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
