1.0.1 • Published 3 years ago
rake-routes v1.0.1
rake-routes
rake-routes is an npm package that provides a rake-routes-like feature for your Express.js application. It helps you generate and display a list of routes in your application, following the MVC architecture and REST conventions.
Features
- Generates and displays routes in your Express application
- Supports the MVC architecture
- Follows REST conventions for route generation
- Easy to use and integrate into your existing Express application
Installation
Install the package using npm:
npm install rake-routesget Started
const rooute = require('rake-routes');
const logger = new rooute('FILE_PATH');- The controller must be named resourceController like flightController here flight is the resource
- File Path where all the route resides