herbsjs/herbs2rest

Information about Express

dalssoft opened this issue · 1 comments

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.

The README has been updated with information to make it clear that herbs2rest works with express.