Reputation: 3901
I would like to develop an application with CouchDB, I believe that is possible to use ONLY CouchCB to server html, css, fonts, icons, js, etc. files as well as to store the data and handle them.
The problems I am facing is:
How to serve my files using CouchDB (without having to use any middleware like nodejs), what I found is that I can upload them as attachements to a _design document, but I find it not a practical way to do so for every single file
Upvotes: 0
Views: 58
Reputation: 16000
You are looking for couchapps. There are tools that take care of the uploading part for you like erica and couchapp.
Couchapp documentation is in the wiki part of the repo. Here is the file structure to design doc mapping guide.
For erica everything is in the readme.
Upvotes: 1