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