Extending express (NodeJS)

It’s quite straightforward. You already have knex available to you(in nodejs projects).