madwill/feathers-horizon

View on GitHub
config/default.json

Summary

Maintainability
Test Coverage
{
  "host": "localhost",
  "port": 3031,
  "public": "../public/",
  "paginate": {
    "default": 10,
    "max": 50
  },
  "authentication": {
    "secret": "superSecretSecret",
    "strategies": [
      "jwt",
      "local"
    ],
    "path": "/authentication",
    "service": "users",
    "jwt": {
      "header": {
        "type": "access"
      },
      "audience": "https://yourdomain.com",
      "subject": "anonymous",
      "issuer": "feathers",
      "algorithm": "HS256",
      "expiresIn": "1d"
    },
    "local": {
      "entity": "user",
      "service": "users",
      "usernameField": "email",
      "passwordField": "password"
    }
  },
  "rethinkdb": {
    "db": "feathersHorizonExample",
    "servers": [
      {
        "host": "localhost",
        "port": "28015"
      }
    ]
  }
}