express-sequelize-crud-router
express CRUD router based on a sequelize model
Install
npm i -S express-sequelize-crud-router
or
npm install --save express-sequelize-crud-router
Use
Require and initialize with the sequelize and an optional debug
instance:
const debug = 'backend:routes:doc'const CRUDRouter = const model = model const router = // More routesrouter moduleexports = router
Related
License
MIT Copyright © Diego Rodríguez Baquero