Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3354270
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:15:08+00:00 2026-05-18T02:15:08+00:00

I am about to build a web application that shares resources through a Restful

  • 0

I am about to build a web application that shares resources through a Restful API.

It struck me that CouchDB already has a good Restful API layer.

So why would I create my own one.

Couldn’t I just let other web applications use my resources (json documents) on CouchDB through it’s Restful API directly instead of node.js being the middleman?

Or will I need some logic in between CouchDB and 3rd party web applications?

Haven’t yet used CouchDB so I don’t know if it’s capable of handling advanced authorization and if the “design document javascript” applications are as good as “node.js javascript”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:15:08+00:00Added an answer on May 18, 2026 at 2:15 am

    There are several reason why you want to build your own thin layer in between:

    • non JSON resources (for readable access this might be doable with Couch as well)
    • custom backend logic (i.e. dispatching mails, invoking internal application handlers upon requests)
    • authentication (the auth options for Couch are limited)
    • server-side filtering (might be easier with node.js than an update handler in Couch)
    • security (are you willing to run a couch instance that is directly accessable?)

    For myself, I built a RESTful API using CouchDB and node.js. Due to the fact that both use JSON, the necessary overhead is still very small, but you have the full flexibility of your 100% own middle tier code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say that we are about to build an web application where high availability
My current project is about doing some changes in an already build web application
I'm about to build an app that has a database of places that has
I have been asked to build a web application that will be used to
PROBLEM: Build a web-application that allows a human-being to create a new username, but
I am currently attempting to build a web application that relies quite heavily on
We have a Web Application Project (dozens actually..) that has a testing project attached
I have a Flex/Java web application that uses Maven as a build tool. Currently,
I'm using CouchApp to build an easy web application that allows to upload and
I'm about to build a fairly complex web application from the bottom up, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.