Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.35 KB

CONTRIBUTING.md

File metadata and controls

47 lines (31 loc) · 2.35 KB

If you want to contribute to this project, go through the following instructions.

Local Setup

  1. Fork and clone the project into local device
  2. Make sure NodeJS is already installed. If not, download from here
  3. Run the following command in the terminal

npm install

  1. Create a .env file into your root folder and copy the environment variables from the .env.example into .env. Fill in the suitable values for each of the variables.

The project has been successfully installed in the device.

  1. Start the application by running the following command

nodemon index.js

  1. Now go to the address below to your default browser

localhost:5000

Steps 1-4 are needed for first-time installation only. Only steps 5 and 6 will be needed while devolping the project.

Creating an issue

If you find any bug or want to add/improve any feature in the application, create a new issue. Follow the instructions below while creating the issue.

  • Create a branch with a one or two word description of the issue and issue number. For example, if the issue is about adding a button for login and issue number is 34, then name the branch as login-btn-34. Commit your changes in the branch and make a PR from your repository to this main reporsitory.

  • Mention the issue type in the issue title.Choose only from the following 3 types - Bug,Feature,Improve For example, if the issue is about fixing any bug then the title will be [Bug]<one-line description of the issue>.

  • Make sure you mention the following sections in the issue description

    • What is the issue?
    • How to reproduce the issue?
    • What is the expected behaviour?
    • Describe a solution you would like
    • Additional Context (Optional)

    Try to add screenshots or error messages for a better understanding of the issue.

Making a pull request

While making a Pull Request, make sure to follow the points below:

  • In the title for the pull request, mention the issue number that the PR is for. Any PR without a dedicated issue will not be considered. If you are making a PR for issue 12, then the title for the PR will be Fix #12:<one line description of the PR>
  • Mention the following points in the PR description
    • Describe the changes you have made
    • Screenshots
    • Additional Context (Optional)