0.0.0 • Published 8 years ago
webconsole-console v0.0.0
webconsole-conolse
hapi plugin that exposes web console navigation resources through GraphQL.
Table of Contents
Install
npm install webconsole-consoleOptions
authStrategy: name of the hapi auth strategy to use for/graphqlroutebaseUrl: required base URL of the datacenter where the current console is runningconsul: object with configuration details for connecting to the local consul agenthost: agent host address, defaults to '127.0.0.1'port: agent port, defaults to '8500'secure: enable HTTPS, disabled by defaultca: string array of trusted certificates in PEM format
Usage
const server = new Hapi.Server();
await server.register({ plugin: WebConsole, options: { authStrategy, baseUrl: 'https://us-west.site.com' } });Local development
npm run dev

npm run faker
0.0.0
8 years ago