@funfunz/json-data-connector
v1.2.0
Published
json data connector for Funfunz
Downloads
9
Readme
Funfunz JSON Data Connector
Features
This connector use a JSON file for each entity to storage its entries.
Configuration
folderPath
: absolute path of the folder where this connector should read/write JSON files
Example
const config = {
connectors: {
mainDatabase: {
type: '@funfunz/json-data-connector',
config: {
folderPath: path.join(__dirname, 'storage')
},
}
}
}
const funfunz = new Funfunz({ config, ... })