X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=blobdiff_plain;f=README;h=935344b02244097a46234ba6b4cb162847a72913;hp=9dfe96b195270af45f7e3547e1a408b35be12e95;hb=476fb93ea34c230de146c5be08ef69ac25f85b5d;hpb=cef4592eeb3e5c36fe5987928332df7babee87e5 diff --git a/README b/README index 9dfe96b..935344b 100644 --- a/README +++ b/README @@ -26,6 +26,14 @@ At it's current stage it provides support for angular $resource get, query and $ http://angularjs.org/Service:$resource +Data can also be serve static json files stored in: + + public/json/:database/:entity/:key + +which can be used to provide data using external stand-alone scripts. + + + Replication of data between instances using angular REST API can be done with: # create local CouchDB database @@ -90,6 +98,11 @@ CouchDB examples: couchdb-external-kinosearch.pl - external searcher for KinoSearch indexes (configuration for CouchDB is included at end of file) + $ ./couchdb-trigger.pl http://localhost:5984/trigger_demo trigger/KinoSearch.pm + + $ curl 'http://localhost:5984/trigger_demo/_kinosearch?include_docs=true;q=foobar' + + Roadmap: