dreck
v1.0.20
Published
Helpers for express CRUD handlers
Downloads
8
Readme
Dreck
Scaffolding to set up crud operations.
Making a type specific Hanlder
const Dreck = require('dreck')
class DatabaseServerDreck extends Dreck {
constructor(options) {
super(Object.assign(
{
templatePrefix: 'database-servers/',
locals: {
pretemplate: 'app_pre',
posttemplate: 'app_post'
}
}
, options
))
}
}
module.exports = DatabaseServerDreck