First off, thank you for considering contributing to the Inventory Management System (IMS)! It's people like you who make the project better.
The following is a set of guidelines for contributing to the project. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
If you find a bug in the project, please report it by following these steps:
-
Check for existing issues: Before reporting a bug, check if it's already reported in the issues section.
-
Create a new issue: If no issue exists, create a new issue. Use a clear and descriptive title, and include details such as:
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Screenshots or logs, if applicable
-
Label the issue: Add relevant labels to help categorize the issue (e.g., bug, enhancement, question).
To suggest a new feature or enhancement:
-
Check for existing suggestions: Review the existing issues to see if your idea has already been suggested.
-
Create a new suggestion: If no similar suggestion exists, create a new issue and use a clear and descriptive title. Include:
- A detailed description of the feature
- Why it would be useful
- Any potential drawbacks
-
Label the suggestion: Add relevant labels to help categorize the suggestion (e.g., enhancement, feature request).
For your first contribution:
-
Fork the repository:
git fork https://github.com/AmruthLP12/com.OnlineBankingApplication.git
-
Clone your fork:
git clone https://github.com/AmruthLP12/com.OnlineBankingApplication.git cd online-banking-application
-
Create a branch for your work:
git checkout -b my-feature-branch
-
Make your changes: Implement the new feature or bug fix.
-
Commit your changes:
git add . git commit -m "Add feature X"
-
Push your changes:
git push origin my-feature-branch
-
Open a pull request: Go to your fork on GitHub, switch to your feature branch, and click on "Compare & pull request." Provide a clear description of your changes.
To create a pull request:
-
Ensure your fork is up to date: Sync your fork with the latest changes from the upstream repository.
git checkout main git pull upstream main
-
Create a new branch: Create a new branch for your changes if you haven't already.
git checkout -b new-feature-branch
-
Commit your changes: Ensure each commit message follows the commit message guidelines.
-
Push your changes:
git push origin new-feature-branch
-
Create a pull request: Go to the upstream repository, switch to your branch, and click "Compare & pull request." Include a clear description of your changes.
-
Review: Address any feedback from project maintainers and update your pull request as needed.
-
Clone the repository:
git clone https://github.com/AmruthLP12/com.OnlineBankingApplication.git cd online-banking-application
-
Install dependencies:
mvn install
-
Set up the database: Follow the Database Setup section in the README.
-
Run the application:
mvn exec:java -Dexec.mainClass="com.banking.ui.Main"
-
Run the tests:
mvn test
- Use 4 spaces for indentation.
- Follow Oracle's Java Code Conventions.
- Document your code with Javadoc comments.
-
Format: Use the imperative mood in the subject line. Example: "Fix bug in order processing"
-
Structure:
- Subject line (max 50 characters)
- Blank line
- Detailed explanation (optional)
-
Examples:
Fix bug in order processing The order processing logic had a bug where negative quantities were allowed. This change ensures that only positive quantities are accepted.
This project was created by Amruth L P. If you have any questions or need further assistance, please feel free to reach out.