/ldp-on-couchdb

Linked Data Platform on Apache CouchDB

Primary LanguageJavaScript

LDP on CouchDB

Apache CouchDB's HTTP API is quite similar to LDP's Basic Container system.

This project closes the loop by providing a set of CouchApp functions (_update, _show, etc) that add the remaining LDP specific semantics.

Usage

  1. npm install && npm install -g gulp
  2. Copy config.json.sample to config.json
  3. Change config.json to match your setup.
  4. gulp (or only gulp apps or gulp docs)
  5. Send LDP requests to the URL you set in config.json plus _design/ldp/_rewrite/
  6. (optional) Setup a Virtual Host to make the URL above prettier.

Sample Requests

Assuming your setup matches mine 😺

License

Apache License 2.0