Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 2.53 KB

CONTRIBUTING.md

File metadata and controls

88 lines (62 loc) · 2.53 KB

Contributing to Library Management System 📚

Thank you for your interest in contributing to the Library Management System! Contributions of all kinds are welcome—whether it's bug fixes, new features, or improvements to documentation. Your help makes this project better!


Table of Contents


How to Contribute

Follow these steps to start contributing:

  1. Fork the Repository
    Click on the "Fork" button at the top-right of this page to create your copy of the repository.

  2. Clone Your Fork
    Clone the forked repository to your local machine:

    git clone https://github.com/your-username/library-management-system.git
    cd library-management-system
  3. Create a New Branch
    Create a branch for your changes:

    git checkout -b feature/your-feature-name
  4. Make Your Changes
    Implement your feature or fix. Follow the code structure and add comments where necessary.

  5. Test Your Changes
    Compile and run the program to ensure everything works as expected:

    gcc main.c logic.c -o library-management-system
    ./library-management-system
  6. Commit Your Changes
    Use clear and concise commit messages:

    git commit -m "Add [Feature/Component] to the system"
  7. Push Your Changes
    Push your branch to your forked repository:

    git push origin feature/your-feature-name
  8. Open a Pull Request
    Go to the original repository and open a Pull Request (PR). In the description, mention the issue number (if applicable) and describe your changes.


Code Style Guidelines

  • Use 4 spaces for indentation.
  • Follow snake_case naming convention for variables and functions.
  • Keep code modular—split large functions into smaller ones.
  • Comment your code where necessary to improve readability.

Reporting Issues

Found a bug? Want to suggest a new feature? Open an issue and provide:

  • A brief description of the problem or feature.
  • Steps to reproduce (for bugs).
  • Relevant screenshots or logs (if any).

Thank You

We appreciate your contributions to the Library Management System! Your efforts help make this project better and promote a healthy open-source ecosystem.

Happy coding! 🎉