Skip to content
A custom Punch content handler to fetch data from CouchDB.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
README.md
grunt.js
package.json

README.md

Punch CouchDB Content Handler

A custom Punch content handler to fetch data from CouchDB.

How to Use

  • Install the package:

    npm install punch-couchdb-content-handler

  • Open your Punch project's configurations (config.json) and add the following:

    "plugins": {
        "content_handler": "punch-couchdb-content-handler"
    }
    
  • You can use couchdb section to provide CouchDB specific configuration.

    "couchdb": {
        "server": "http://127.0.0.1:5984",
        "db": "example_com",
        "username": "admin",
        "password": "password"
    }
    
  • server - the Url of the CouchDB server.

  • db - the CouchDB database name.

  • username - the CouchDB username.

  • password - the CouchDB password.

Something went wrong with that request. Please try again.