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:
- Install VirtualBox
- Install Vagrant
- 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 http://dl.dropbox.com/u/1537815/precise64.box
- Bring up the virtual machine (from the root of this project):
$ vagrant up
- SSH into the virtual machine:
$ vagrant ssh
- 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