X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=README;h=0ab9326c9aefc6e4e10ab9a9d2a58a0fcbcc73d9;hb=10be3f0af7ebabdd271b46781439aaf9d32854c1;hp=442a5271e3e02ccb4dcf5559af383ae54771dda0;hpb=6dbe337c654165cd9decf462b2280d9fb7ccc8fd;p=angular-mojolicious.git diff --git a/README b/README index 442a527..0ab9326 100644 --- a/README +++ b/README @@ -13,8 +13,29 @@ This is my attempt to implement REST API described at: http://docs.getangular.com/REST.Basic -using simple in-memory model for experimenting with local datasets using - +using CouchDB HTTP view API + +http://wiki.apache.org/couchdb/HTTP_view_API + +to provide storage for experimenting with local datasets using angular. + + +At it's current stage it provides support for angular $resource get, query and $save + +http://angularjs.org/Service:$resource + + +Replication of data between instances using angular REST API can be done with: + + # create local CouchDB database + curl -X PUT http://localhost:5984/test + + ./angular-replicate.pl \ + http://dpavlin.getangular.com/data/conference \ + http://localhost:3000/data/test + +Replication is currently good only for initial import of data since it doesn't +support incremental replication and dies if data is allready present. Installation: @@ -36,10 +57,9 @@ Start it with: Angular examples available: - template/Cookbook - examples from wiki working against github version of angular -- template/Work - conference submission example using mojolicious REST API server +- template/conferece - conference submission example using mojolicious REST API server Planned features: -- data persistence, probably to CouchDB (currently all data is stored in-memory) - run queries against data using REST API (currently only simple get is supported)