nocms-config-api-server
v1.1.0
Published
Express server for providing config values to containers
Downloads
3
Readme
NoCMS Config API Server
NoCMS Config API server for providing config values to nocms containers.
Installation
Install nocms-config-api-server from NPM into your NoCMS config_api container.
npm install nocms-config-api-server --save
Usage
const configApiServer = require('nocms-config-api-server');
const myAdapter = require('./my_adapter');
const configData = require('./config_data.json');
configApiServer
.setData(data)
.setAdapter('myAdapter', myAdapter)
.start();