couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Audrey Lee <audrey.lee.is...@gmail.com>
Subject How I "glue" together Rails and couchDB ?
Date Mon, 05 Apr 2010 03:13:36 GMT
Hello couchDB People,

Is it possible to easily glue together couchDB and Rails?

I have a rails server running here:
  http://localhost:3000/rails/

And I have a couchDB server running here:
  http://localhost:5984/

I'd like to configure couchDB (or Rails) so that I have a server which
listens on 8080.

I want any request directed at:
  http://localhost:8080/rails/
to be forwarded to
  http://localhost:3000/rails/
And I want all other requests to be forwarded to
  http://localhost:5984/

Or perhaps I could configure couchDB so that any request directed at:
  http://localhost:5984/rails/
is forwarded to
  http://localhost:3000/rails/

Have any of you done something like this?

Mime
View raw message