all repos — litestore @ 467097eee7c2c4c9b11cfd6d8639cb4f3c7734b2

A minimalist nosql document store.

src/litestorepkg/examples/config.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
{
  "settings": {
    "mount": true,
    "directory": "admin"
  },
  "resources": {
    "/info": {
      "GET": { "auth": ["admin:server"] }
    },
    "/docs/*": {
      "POST": { "auth": ["admin:server"] },
      "PATCH": { "auth": ["admin:server"] },
      "PUT": { "auth": ["admin:server"] },
      "DELETE": { "auth": ["admin:server"] }
    },
    "/docs/wiki/*": {
      "POST": { "auth": ["admin:wiki"] },
      "PUT": { "auth": ["admin:wiki"] },
      "PATCH": { "auth": ["admin:wiki"] },
      "DELETE": { "auth": ["admin:wiki"] }
    }
  },
  "signature": "\n-----BEGIN CERTIFICATE-----\n<certificate text goes here>\n-----END CERTIFICATE-----\n"
}