Routes configuration
Configuration file
This is the global configuration file for all the routes of the application
- prefix: The prefix (if exists) of all the auto generated routes
- customRoutes: An array containing the route folders that the engine should load. For more information see section routes
- customMiddlewares: An array containing the middleware folders that the engine should load. For more information see section routes
Example
module.exports = {
prefix: '/api01',
customRoutes: ['routes'],
customMiddlewares: ['middlewares']
};