Closed dalssoft closed 3 years ago
It should be clear on the docs that this glue works with Express (and which version).
const { generateRoutes } = require('herbs2rest') const routes = new Router() generateRoutes(controllerList, routes) app.use(routes)
Here, it should be clear that new Router() is a express object.
new Router()
The README has been updated with information to make it clear that herbs2rest works with express.
It should be clear on the docs that this glue works with Express (and which version).
Here, it should be clear that
new Router()
is a express object.