Databox Loader
Tipe Databox Loader for talking with Databox
yarn add @tipe/databox-loader
const DATABOX_URL = process.env.DATABOX_URL
const databox = createDatabox(DATABOX_URL)
const query = {
// MongoDB query
}
databox.user.create(query)
databox[MODEL][ACTION](query)
/*
// return data
{
data: {},
errors: []
}
*/