fnf-express
v1.0.6
Published
fnf-express - short form of Fast and furious express. This helps makes the development of express faster by building boiler plate code
Downloads
11
Readme
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
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>