const Condor = require('condor-framework');
const options = {
  'listen': '',
  'rootProtoPath': '../protos',
  'rootCert': '/path/to/root/cert',
  'certChain': '/path/to/cert/chain',
  'privateKey': '/path/to/private/key',
const app = new Condor(options);

All the options are not required. Their default values are:

Option Description Default
listen The hostname and port the server will listen into
host The hostname. Valid only if listen is not set
port The port. Valid only if listen is not set 50051
rootProtoPath Root path of the proto files  
rootCert Path to the root cert file  
certChain Path to the cert chain file  
privateKey Path to the private key file  

Next: Related modules and middleware