all repos — litestore @ f9283c81a8d3f9f2f71c871a647a19619ea7a7cd

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