Hello there! At my job, whenever I was working on node express projects, I used to find myself copy-pasting the same directory and file structures over and over again. So, I created this simple node express boilerplate generator to ease the task. I acknowledge, there are so many better and adavanced tools for this task, but I wanted to build something custom while learning something new :)
PS: Please feel free to open an issue or pull request for any kind of feature suggestion, feedback, improvement.
Install node-expressgen with npm globally
npm install node-expressgen -g
or
yarn add node-expressgen -g
Once you installed it globally, just type this command where you want to generate the boilerplate.
expressgen
It will prompt a question, asking you for project name.
? Project name: <Enter your project name here>
And boom!! you have your node express boilerplate