An open API service indexing awesome lists of open source software.

https://github.com/kaushalrathi24/create-boilerplate-node

A CLI tool which generates boilerplate code for nodejs server applications taking in various configuration parameters.
https://github.com/kaushalrathi24/create-boilerplate-node

authentication cli-app expressjs hacktoberfest mongodb nodejs

Last synced: 3 months ago
JSON representation

A CLI tool which generates boilerplate code for nodejs server applications taking in various configuration parameters.

Awesome Lists containing this project

README

          

Kicking Off Hacktoberfest with ACM-VIT!




Boilerplate Generator


A CLI tool which generates boilerplate code for nodejs server applications taking in various configuration parameters.



made-by-acm




---

## Submitting a Pull Request

- Fork the repository by clicking the fork button on top right corner of the page
- Clone the target repository. To clone, click on the clone button and copy the https address. Then run

git clone [HTTPS-ADDRESS]

- Go to the cloned directory by running
cd [NAME-OF-REPO]

- Create a new branch. Use
 git checkout -b [YOUR-BRANCH-NAME]

- Make your changes to the code. Add changes to your branch by using
git add .

- Commit the chanes by executing
git commit -m "your msg"

- Push to remote. To do this, run
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.**

- Wait for your request to be accepted.

---

## Guidelines for Pull Request

- Avoid pull requests that :
- are automated or scripted
- that are plagarized from someone else's branch
- Do not spam
- Project maintainer's decision on validity of PR is final.

For additional guidelines, refer to [participation rules](https://hacktoberfest.digitalocean.com/details#rules)

---

## Overview

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.

---

## Installation

- Clone this repository

 git clone https://github.com/kaushalrathi24/create-boilerplate-node.git

- Go to cloned repository
 cd create-boilerplate-node

- Install dependencies
 npm install

- Make the script available system wide
 npm link

---

## Usage

- Go to repository directory.
- Windows Powershell

 create-boilerplate-node.cmd [Target Directory]

- Linux/MacOs

 create-boilerplate-node [Target Directory]

---
## Authors
[Kaushal Rathi](https://github.com/kaushalrathi24)

---
## Contributors