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
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
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>