A CLI tool which generates boilerplate code for nodejs server applications taking in various configuration parameters.
git clone [HTTPS-ADDRESS]
cd [NAME-OF-REPO]
git checkout -b [YOUR-BRANCH-NAME]
git add .
git commit -m "your msg"
git push origin [YOUR-BRANCH-NAME]
Create a pull request. Go to the target repository and click on the "Compare & pull request" button. Make sure your PR description mentions which issues you're solving.
For additional guidelines, refer to participation rules and CONTRIBUTION.md
This CLI tool can be used to create boilerplate code for common backend frameworks. Authentication method, Framework of choice, Database of choice, and folder structure architecture can be passed on as arguments. Boilerplate code for Authentication functionality(Login/Register) is created in destination path provided.
git clone https://github.com/ACM-VIT/create-boilerplate-node.git
cd create-boilerplate-node
npm install
npm link
Go to repository directory.
Windows Powershell
create-boilerplate-node.cmd [Target Directory] [Boilerplate type}
Linux/MacOs
create-boilerplate-node [Target Directory] [Boilerplate type]
For example if you would want to create boilerplate code at ./test directory with jwt authentication with express mongoose and mvc architecture, you will use:
create-boilerplate-node ./test express-mongoose-jwt