Skip to content

Latest commit

 

History

History
136 lines (84 loc) · 4 KB

File metadata and controls

136 lines (84 loc) · 4 KB

Contributing to CodeAndBlog 🚀

Thank you for considering contributing to CodeAndBlog! We welcome your contributions to help make our blog even better.

Please take a moment to review the following guidelines to ensure a smooth and positive contribution process.

Table of Contents 📚

  1. Getting Started
    • Find an Issue / Create an Issue
    • Fork the Repository
    • Clone the Repository
    • Set Up the Development Environment
  2. Making Contributions
    • Branching
    • Writing Code
    • Documentation
    • Commit Messages
    • Pushing Changes
    • Testing
  3. Submitting Pull Requests
  4. Review Process
  5. Attribution

Getting Started

Reporting Issues 🐛

If you encounter any issues or have suggestions, please open an issue. Provide a clear and detailed description, along with any relevant information.

How to Contribute

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix: git checkout -b feature/your-feature-name or git checkout -b bugfix/your-bug-fix.
  3. Commit your changes: git commit -m "Add your commit message here".
  4. Push your branch to your fork: git push origin feature/your-feature-name or git push origin bugfix/your-bug-fix.
  5. Create a pull request on the main branch of the original repository.

Code Style 💻

Follow the coding style and guidelines outlined in the project. If there are no specific guidelines, maintain consistency with the existing code.

Fork the Repository

Click the "Fork" button on the top right corner of this repository's page to create a copy of the project in your GitHub account. You'll be making your contributions in your forked repository.

Clone the Repository

Clone your forked repository to your local machine using the following command:

git clone https://github.com/SAGARSINGH-1/CodeAndBlog.git

Set Up the Development Environment

Install the project's dependencies:

npm install

Run the project locally:

npm run dev

Making Contributions

Branching

Create a new branch for your feature or bug fix:

git checkout -b feature-name

Writing Code

Make your changes to the codebase. Please follow the coding conventions and standards used throughout the project. Make sure to write meaningful comments in your code.

Documentation

Update the documentation if your changes impact the project's user or developer documentation.

This includes updating README files, code comments, or any other relevant documentation.

Commit Messages

Please follow conventional commit messages for your commits. This helps in generating meaningful changelogs automatically.

You can use the following command to commit your changes:

git commit -m "fixes: #0000"

Pushing Changes

Before pushing your changes, make sure to pull the latest changes from the main repository's main branch:

git pull origin main

Push your changes to your forked repository:

git push origin feature-name

Testing

We don't have any tests yet. Please check your code manually before submitting a PR.

Submitting Pull Requests

When you're ready to submit your changes, create a pull request (PR) from your feature branch to the main repository's main branch. Be sure to include a clear and descriptive title and a detailed description of your changes.

Review Process 👁️‍🗨️

Once you've submitted a PR, maintainers and contributors will review your code, provide feedback, and request changes if necessary. Be prepared to address these comments and make necessary revisions.

Attribution

Contributors will be credited for their contributions in the project's documentation. Thank you for your valuable contributions to the Quiz App!

Note: This CONTRIBUTING.md file is a guideline. The project maintainers may have specific requirements or procedures that override these general instructions. Always refer to the project's own CONTRIBUTING.md if it exists.

Thank you for contributing! 🙌