We're thrilled that you're considering contributing to CabRental, a decentralized vehicle rental platform! Whether you're fixing a bug, proposing new features, or improving documentation, your contributions are vital to improving the platform and making vehicle rentals smarter, faster, and more secure. 🚗💨
We aim to make contributing easy and efficient. Follow the steps below to get started.
Start by forking the repository:
- Navigate to the top-right corner of this page.
- Click the Fork button.
- This creates your personal copy of CabRental to make modifications.
Clone your fork to your local machine to work on:
git clone https://github.com/YOUR-USERNAME/CabRental.git
Then, navigate to the project directory:
cd CabRental
Install all the required dependencies to run the project locally:
npm install
composer install
Make sure to configure MetaMask for decentralized login and connect it with the blockchain environment.
Start contributing by working on the issue or feature. You can check out our Issue Tracker to find open tasks. Don’t forget to follow our code guidelines and document your changes properly.
Once you’re done making changes, commit them with a clear message:
git add .
git commit -m "Description of changes"
Push your changes to the forked repository:
git push origin main
Once you've pushed your changes, open a Pull Request (PR) to the main repository. Make sure to provide a clear description of the changes made and link the issue, if applicable.
We recommend writing an informative PR title and including screenshots or GIFs (if necessary) to demonstrate the feature or bug fix.
To maintain code consistency and quality, ensure you follow these guidelines:
- Coding Style: Adhere to industry standards and follow JavaScript Style Guides.
- Test: Test your code thoroughly before pushing. We encourage adding unit and integration tests whenever possible.
- Documentation: Always update or add documentation for any feature or code changes.
- Smart Contracts: Follow secure development principles for writing and testing smart contracts.
Need help? Have questions? Feel free to reach out by opening an issue.
Thank you for helping us make CabRental better! 🎉