Welcome to the project! We greatly appreciate your contributions. Before submitting your contribution, please take a moment to read the following guidelines.
If you find a bug or have a feature request, please first check the issue tracker to see if the issue already exists. If it doesn't, please create a new issue and provide as much detail as possible, including:
- A description of the issue
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Relevant logs or screenshots (if applicable)
-
Fork the Repository: First, fork this project to your GitHub account.
-
Clone the Repository: Clone the forked repository to your local machine.
git clone https://github.com/stackclass/backend.git cd backend -
Create a Branch: Create a new branch for your changes.
git checkout -b your-branch-name
-
Make Changes: Make your changes locally.
-
Run Tests: Ensure all tests pass before submitting your changes.
just test -
Commit Changes: Commit your changes with a clear commit message.
git add . git commit -m "Describe your changes"
-
Push Changes: Push your changes to GitHub.
git push origin your-branch-name
-
Create a Pull Request: Create a Pull Request on GitHub and describe your changes. Make sure your PR includes the following:
- The purpose of the changes
- Related issue number (if applicable)
- Any other relevant context
Please follow the project's code style guidelines. Here are some general Rust code style recommendations:
- Use
just fmtto format your code. - Use
just clippyfor code linting.
Ensure your changes include appropriate tests and that all tests pass. Run the following command to execute tests:
just testIf your changes involve public APIs or features, please make sure to update the relevant documentation.
By submitting contributions, you agree that your contributions will be licensed under the project's LICENSE.
Thank you for contributing! 🎉