Thank you for considering contributing to the Splitwise Clone API! To ensure a smooth contribution process, please follow these guidelines for branch naming and commit messages.
-
Feature Branches:
- Naming Convention:
feature/feature-name
- Example:
feature/user-authentication
- Naming Convention:
-
Bugfix Branches:
- Naming Convention:
bugfix/bug-description
- Example:
bugfix/fix-login-error
- Naming Convention:
-
Hotfix Branches:
- Naming Convention:
hotfix/hotfix-description
- Example:
hotfix/critical-security-patch
- Naming Convention:
-
Release Branches:
- Naming Convention:
release/release-name
- Example:
release/v1.0.0
- Naming Convention:
-
Format:
- Use the following format for commit messages:
[TYPE] Short description of the change Longer description if necessary.
- TYPE: The type of change (e.g.,
Feature
,Fix
,Refactor
,Docs
).
- Use the following format for commit messages:
-
Examples:
- Feature:
Feature: Add user authentication Implemented user authentication using JWT.
- Fix:
Fix: Corrected login error Fixed an issue where the login endpoint was returning a 500 error.
- Refactor:
Refactor: Simplify user service Refactored user service code for better readability and performance.
- Docs:
Docs: Update README with setup instructions Added detailed instructions for setting up the project.
- Feature:
- When creating a pull request, ensure it:
- References any relevant issues or tickets.
- Includes a clear description of the changes made.
- Follows the branch naming and commit message guidelines.
Thank you for contributing!