ConCaVa JSON adapter
ConCaVa adapter for authorization, metadata and storage using JSON files.
This adapter uses the simple JSON file store.
Requires ConCaVa v0.6+.
Install
npm install concava-adapter-json
Configure
A ConCaVa configuration example:
const path = const adapter = moduleexports = debug: true logFile: '/tmp/output.log' logName: 'concava' port: 3000 payloadMaxSize: '512kb' auth: enabled: true header: 'Authorization' byToken: true method: adapterauth file: path metadata: method: adaptermetadata file: path storage: method: adapterstorage path: path
Data will be stored in the storage path using the following file format: store.{udid}.json
.
License
This software is licensed under the MIT license.
© 2016 Kukua BV