0.0.2 • Published 11 years ago

punch-couchdb-content-handler v0.0.2

Weekly downloads
11
License
-
Repository
github
Last release
11 years ago

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.