First off, thank you for considering contributing to the Stock-Backend project! Your support and contributions are highly appreciated.
To start contributing:
-
Fork the repository on GitHub.
-
Clone your fork to your local machine:
git clone /~https://github.com/your-username/stock-backend.git
-
Set up the development environment by following the instructions in the
README.md
file. -
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
If you encounter a bug or have a question, please open an issue and provide as much detail as possible. Include steps to reproduce the issue and any relevant logs or screenshots.
We welcome suggestions for new features or improvements. Please open an issue with the [Enhancement]
tag and describe your idea in detail.
Before submitting a pull request:
- Ensure your code passes all tests and follows the project's coding standards.
- Update documentation as necessary.
- Reference any related issues in your pull request description.
- Ensure your pull request has a clear and descriptive title.
To submit a pull request:
-
Push your changes to your forked repository:
git push origin feature/your-feature-name
-
Go to the original repository and click on New Pull Request.
-
Fill out the pull request template and submit.
- Follow the Go coding standards.
- Use meaningful variable and function names.
- Write comments for complex logic and public functions.
- Format your code using
go fmt
.
- Use the imperative mood in your commit messages (e.g., "Add feature," not "Added feature").
- Start with a short summary (50 characters max).
- Include a detailed description if necessary.
- Reference issues by number (e.g.,
Fixes #123
).
- Be respectful and considerate in your interactions.
- Provide constructive feedback.
- Follow the project's Code of Conduct (if available).
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for your interest in improving Stock-Backend! Together, we can make it better.