all repos — litestore @ d9c5f26aa6df4931cd5380e7d48e7bc1c6c46405

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"
}