We're glad you're interested in contributing to the Advanced Hospital Management System! This document provides guidelines for contributions to help maintain code quality and consistency.
- Getting Started
- How to Contribute
- Coding Standards
- Submitting Changes
- Reporting Bugs
- Requesting Features
- Code of Conduct
- Fork the repository on GitHub: https://github.com/yazdanhaider/Hospital-Management/
- Clone your fork locally:
git clone https://github.com/your-username/Hospital-Management.git
- Create a branch for your changes:
git checkout -b feature/your-feature-name
-
Make Changes: Develop your changes in the feature branch.
-
Test the Application:
- Run the application locally.
- Verify that existing features work correctly.
- Test your new changes thoroughly.
-
Ensure Adherence to Coding Standards: Follow the coding guidelines provided below.
-
Commit Changes: Use a descriptive commit message.
-
Push to Your Fork: Push the changes to your GitHub fork:
git push origin feature/your-feature-name
-
Open a Pull Request: Submit a pull request to the main repository.
-
General Guidelines:
- Use meaningful and descriptive names for variables and functions.
- Follow consistent indentation (recommended: 2 spaces).
- Add comments for complex or critical sections of code.
- Make sure the code is compatible with modern web browsers.
-
HTML:
- Use semantic HTML5 elements where appropriate.
- Maintain proper tag nesting and closing.
-
CSS:
- Follow a consistent naming convention for class and ID selectors.
- Group related CSS properties together.
-
JavaScript (React):
- Use ES6+ standards where applicable.
- Avoid global variables; use modules or components to en
- Push Changes to Your Fork: Push the branch to your forked repository.
- Open a Pull Request: Submit a pull request with a clear description of the changes.
- Provide Details: Explain the problem solved or feature added and reference relevant issue numbers if applicable.
- Review Feedback: Be prepared to make additional changes if requested.
- Check Existing Issues: Look at the Issues section to see if the bug has already been reported.
- Create a New Issue: If not found, create a new issue with a clear title and detailed description.
- Include Steps to Reproduce: Provide steps and any relevant code snippets.
- Review Existing Feature Requests: Check if the feature has already been suggested.
- Open a New Feature Request: If not, submit a new feature request with a clear description and potential benefits.
By participating in this project, you are expected to uphold our Code of Conduct:
- Be respectful and inclusive.
- Exercise consideration and respect in your speech and actions.
- Attempt collaboration before conflict.
- Refrain from demeaning, discriminatory, or harassing behavior and speech.
- Be mindful of your surroundings and of your fellow participants.
Thank you for contributing to the Advanced Hospital Management System!