http-routes-layer layer-cake plugin to use a routes file and well-defined controller structure Installation $ npm install http-routes-layer Then just add http-routes-layer to the plugins array in your package.json.