client manager complete, client and client channels next

This commit is contained in:
Josh Burman
2019-03-07 20:19:13 -05:00
parent 97ed2476f4
commit 8fa7f98493
131 changed files with 10059 additions and 63 deletions

15
src/config/app.ts Normal file
View File

@ -0,0 +1,15 @@
module.exports = {
version : '0.5.1',
whitelist : (process.env.WHITELIST || "http://admin.localhost").split(','),
secret : (process.env.API_TOKENS || "test").split(','),
devToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjoidGVzdCBkYXRhIiwiYXVkIjoiaW50ZXJuYWwiLCJpc3MiOiJZYXJkc3RpY2sgU29mdHdhcmUiLCJzdWIiOiJCcmFpZCBKV1QifQ.t6LFXWPEVz3aLXwtrucarggqTkGY_2NnZB8ZTMaJ2oI',
port: process.env.PORT || 8443,
hostname: process.env.HOSTNAME || 'ysbraid.localhost',
environment: process.env.ENVIRONMENT || 'development',
signOptions : {
issuer: 'Yardstick Software',
subject: 'Braid JWT',
audience: 'internal',
algorithm: ["HS256"]
}
}