all repos — litestore @ d431eef1023c8b8e19ce85ac34678ef3765b280c

A minimalist nosql document store.

Minor changes.
h3rald h3rald@h3rald.com
Fri, 06 Mar 2020 15:12:47 +0100
commit

d431eef1023c8b8e19ce85ac34678ef3765b280c

parent

87a4616b5216af2119f89fd7ed1df458c43c8800

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/admin/md/global_js_objects.mdsrc/admin/md/global_js_objects.md

@@ -39,7 +39,7 @@ }

</code></pre></dd> </dl> -### LiteStore.api +### $store Simple synchronous API to access LiteStore resources in a RESTful way, mimicking HTTP methods.
M src/litestorepkg/examples/system/config.jsonsrc/litestorepkg/examples/system/config.json

@@ -1,6 +1,6 @@

{ "settings": { - "log": "warn", + "log": "debug", "port": 9200 }, "resources": {

@@ -19,6 +19,7 @@ "auth": ["admin:vehicles"],

"middleware": ["validate", "log"] }, "PUT": { + "auth": ["admin:vehicles"], "middleware": ["validate", "log"] }, "DELETE": {