We welcome contributions from everyone! Follow these guidelines to make contributing smooth and effective.
- Search existing issues before opening a new one.
- Provide clear steps to reproduce the problem.
- Include screenshots or logs if helpful.
1️⃣ Clone your fork
git clone https://github.com/<your-username>/RentOrbits.git
cd RentOrbitsThis command clones your forked repository and navigates into the project directory.
2️⃣ Create a descriptive branch
git checkout -b feature/short-descriptionCreate a new branch that clearly describes the feature or fix you’re working on.
3️⃣ Make changes and commit them
After making your changes, commit them with a descriptive message.
✅ Use the following prefixes for consistency:
- feature: add feature-name
- fix: resolve bug description
- docs: update documentation
Example:
git commit -m "feat: add user authentication flow"4️⃣ Push your branch to GitHub
git push origin feature/short-descriptionThis pushes your local branch to your GitHub fork.
5️⃣ Open a Pull Request
- Go to your fork on GitHub
- Click Compare & Pull Request
- Submit a PR from your branch to the main branch of the original repository
- Add a clear title and description of your changes
- Naming conventions: Use
camelCasefor variables and functions,PascalCasefor classes and components, andUPPER_CASEfor constants. - Line length: Limit lines to 100 characters.
- Indentation: Use 2 spaces for indentation (no tabs).
- Linters/Formatters: All code must pass ESLint and be formatted with Prettier. Run
npm run lintandnpm run formatbefore submitting. - Write clean and maintainable code by following SOLID principles and adding comments where necessary.
- Feature branches:
feature/short-description - Bugfix branches:
bugfix/short-description - Commit prefixes:
feat:,fix:,docs:,chore:
- Use GitHub Issues for discussions.
- Open Pull Requests for code contributions.
- Code builds successfully
- Code follows formatting rules
- No sensitive information included
- Commits are descriptive
- Documentation updated if needed