2.2.0 • Published 4 years ago

vortexconfig v2.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Include this module in your microservice with line: var config = require('vortexconfig');

To get config object: config.getConfig().then(result => { console.log(result) }); (getConfig() is a Promise that will return config object once resolved)

To get specific instance config object: config.getInstanceConfig(instance).then(result=> { console.log(result) });

You need to have a .env file in your Microservice/API root directory

This can either follow the cloud-example.env or file-example.env

Make sure PC is set up to access Vortex google cloud project otherwise it will not work.

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago