Thank you for considering contributing to the JavaFX Quiz App! We welcome contributions from the community to improve this open-source project. This document outlines the process for contributing, including reporting bugs, suggesting features, and submitting code changes.
Before contributing, please familiarize yourself with the project by reading the README.md and exploring the codebase. Ensure you have the necessary development environment set up as described in the README.
All contributors are expected to adhere to our Code of Conduct. Please read it to understand the expectations for respectful and inclusive collaboration.
If you find a bug, please report it by opening an issue on the GitHub Issues page. When submitting a bug report, include:
- A clear and descriptive title.
- Steps to reproduce the issue.
- Expected and actual behavior.
- Screenshots or logs, if applicable.
- Your environment (e.g., Java version, JavaFX version, OS).
Use the bug report template provided when opening a new issue.
We welcome ideas for new features or improvements! To suggest a feature:
- Open an issue on the GitHub Issues page.
- Use the feature request template.
- Provide a detailed description of the proposed feature and its benefits.
- If possible, suggest how it could be implemented.
To contribute code, follow these steps:
-
Fork the repository by clicking the "Fork" button on the GitHub repository page.
-
Clone your fork to your local machine:
git clone https://github.com/<your-username>/Java-Quiz-App.git
-
Create a new branch for your changes:
git checkout -b feature/your-feature-name
- Follow the project's coding standards (see below).
- Ensure your changes are focused and address a single issue or feature.
- Write clear, concise commit messages.
- Language: Use Java 17 with JavaFX 11+.
- Formatting: Follow the default IntelliJ IDEA code style for Java.
- Documentation: Add Javadoc comments for public methods and classes.
- Testing: Include unit tests using JUnit for new functionality.
- Database: Ensure SQLite database operations are safe and efficient.
- Localization: Support multilingual strings using the
messages.propertiesfiles.
-
Run the application locally to verify your changes:
mvn javafx:run
-
Run existing tests:
mvn test -
Add new tests for your changes, if applicable.
-
Push your changes to your fork:
git push origin feature/your-feature-name
-
Open a pull request (PR) on the GitHub Pull Requests page.
-
Use the pull request template provided.
-
Describe your changes, including the problem solved or feature added.
-
Reference any related issues (e.g.,
Fixes #123).
- Maintainers will review your PR and provide feedback.
- Be responsive to comments and make requested changes.
- Once approved, your changes will be merged into the main branch.
Thank you for your interest in contributing to the JavaFX Quiz App! Your efforts help make this project better for everyone.