Licence
ISC
Version
1.0.6
Deps
7
Size
22 kB
Vulns
0
Weekly
0
fnf-express
fnf-express a short form of the name fast and furious express. Its a tool that helps in making the development of node js and express base application very fast, thorugh a customised CLI-commands
fnf-express follows the MVC architecture in, but not strictly. Therefore, anyone can change the structure to suit what they want at the end. It automatically generates
Models
Routes
Controllers
Public
Views
Installation
Either through cloning with git or by using npm (the recommended way):
npm install -g fnf-express
And nodemon will be installed globally to your system path.
You can also install fnf-express as a development dependency:
npm install --save-dev fnf-express
For CLI options, use the -h (or --help) argument:
fnf-express -h
- This commands ask various questions which is used to generate the various templates
fnf-express
- This commands is used to create a models file in the models directory in the root of your project (-m or --models).
fnf-express -m <model_file_name>
- This commands is used to create a controller file in the controllers directory in the root of your project (-c or --controllers)
fnf-express -c <controller_file_name>
- This commands is used to create a route file in the routes directory in the root of your project (-r or --routes)
fnf-express -r <router_file_name>