Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (32 sloc) 1.6 KB

CouchDB Hypermedia API

Build Status

This is the source code for a proof of concept Hypermedia API built in CouchDB.


This application is licensed under the New BSD License.


This application is written as a proof of concept. The overall design is fairly simplistic, with much room for improvement. Use at your own risk!


Development of this application is done using VirtualBox and Vagrant. To set up your own local development environment:

  1. Install VirtualBox
  2. Install Vagrant
  3. Add the Ubuntu 12.04.1 LTS x86_64 (Guest Additions 4.1.18) box (if not already on your system):
    $ vagrant box add ubuntu-12_04-x86_64
  4. Bring up the virtual machine (from the root of this project):
    $ vagrant up
  5. SSH into the virtual machine:
    $ vagrant ssh
  6. Change into the /vagrant directory:
    $ cd /vagrant


This application's dependencies are managed by Composer. Run the following command to install dependencies:
$ ./composer.phar install --dev


The unit tests for this application can be run using the following command:
$ ./vendor/bin/phpunit


Administrative and maintainance tasks are available using the admin.php script. Executing this script will provide a list of available commands:
$ ./admin.php