Thank you for your interest in contributing to PaperPal! We appreciate your time and effort to improve this Spring Boot project. This guide will help you get started.
- Report Issues: Found a bug or need clarification? Open an issue describing the problem or question.
- Propose Features: Suggest new ideas that align with PaperPal's goals.
- Fix Bugs: Review open issues and contribute fixes.
- Enhance Documentation: Improve existing documentation or add new guides.
- Optimize Code: Suggest performance improvements or clean up redundant code.
To contribute effectively:
- Install Java 17 or later
- Install Maven (or use your IDE's built-in support for Maven)
- Install a Git client
- (Optional) Install Docker if contributing to containerized parts of the project
-
Fork the repository and clone it:
https://github.com/Medhansh-32/PaperPal
-
Build the project:
mvn clean install
-
Run the application:
mvn spring-boot:run
Ensure everything is working by running tests:
mvn test
- Follow the Google Java Style Guide or the configured linter (e.g., Checkstyle, SpotBugs)
- Format your code using your IDE's built-in formatter (ensure it's aligned with the project's style)
- Write meaningful and concise commit messages:
fix: resolve null pointer exception in UserService
feat: add pagination support for search API
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m "Description of your changes"
-
Push your branch to your fork:
git push origin feature/your-feature-name
-
Open a Pull Request:
- Compare your branch with main in the original repository
- Add a clear title and description to your PR
- Link relevant issues, if any
- Pull Requests are reviewed by maintainers. Expect constructive feedback
- Ensure your PR passes all CI checks before review
- Once approved, your PR will be merged into the main branch
- Be respectful and inclusive in all interactions
- Follow our Code of Conduct
We're excited to see your contributions to PaperPal! 🚀