Leia este guia em Português
- Basic knowledge of programming is mandatory.
- The ability to use Git and GitHub.
- Some knowledge of Dart and how to use Flutter is preferrable for a head start.
- UI/UX Design skills are appreciable but not mandatory.
- Some idea about API Requests or willingness to learn it.
If you'd like to add a feature or fix a bug, I'm more than happy to accept pull requests! I only ask a few things:
- Ensure your code contains no analyzer errors, e.g:
- Code is strong-mode compliant.
- Code is free of lint errors.
- Format your code with
Dart-Code.dart-code
. - Write helpful documentation.
- If you would like to make a bigger / fundamental change to the codebase, please file a lightweight example PR / issue.
- Take a look at the existing Issues or create a new issue!
- Fork the Repo. Then, create a branch for any issue that you are working on. Finally, commit your work.
- Create a Pull Request (PR), which will be promptly reviewed and given suggestions for improvements by me.
- Add screenshots or screen captures to your Pull Request to help us understand the effects of the changes proposed in your PR.
1. Start by making a fork the habitual-ecommerce-getx repository. Click on the symbol at the top right corner.
2. Clone your new fork of the repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/habitual-ecommerce-getx
3. Navigate to the new project directory:
cd habitual-ecommerce-getx
4. Set upstream command:
git remote add upstream https://github.com/YOUR_GITHUB_USERNAME/habitual-ecommerce-getx.git
5. Checkout from main to development branch.
git checkout development
6. Create a feature branch from the development branch!
git checkout -b YourBranchName
7. Sync your fork or your local repository with the origin repository:
- In your forked repository, click on "Fetch upstream"
- Click "Fetch and merge"
git fetch upstream
git merge upstream/development
Github Docs for Syncing
8. Make your changes to the source code.
9. Stage your changes and commit:
git add .
or git add *
. Instead, stage your changes for each file/folder
git add <file-name>
git commit -m "<your_commit_message>"
10. Push your local commits to the remote repository:
git push origin YourBranchName
10. Create a Pull Request!
To make the contribution verification process more efficient and organized, I have created a pull request template. You can find it in the ".github" folder by opening the "PULL_REQUEST_TEMPLATE.md" file.
Please use this template as a guide when submitting your pull request and make sure to fill in all relevant sections. This will help me understand the changes made and how they fit into the larger context of the project.
Please read the Contribution Guidelines and Code of Conduct before submitting your request to ensure that your contribution aligns with our goals and values.
11. Congratulations! You've made your first contribution to habitual-ecommerce-getx! 🙌🏼
How you can add more value to your contribution logs:
- Use the present tense. (Example: "Add feature" instead of "Added feature")
- Use the imperative mood. (Example: "Move item to...", instead of "Moves item to...")
- Limit the first line (also called the Subject Line) to 50 characters or less.
- Capitalize the Subject Line.
- Separate subject from body with a blank line.
- Do not end the subject line with a period.
- Wrap the body at 72 characters.
- Use the body to explain the what, why, vs, and how.
- Reference Issues and Pull Requests liberally after the first line.
In order to discuss changes, you are welcome to open an issue about what you would like to contribute. Enhancements are always encouraged and appreciated.
Sit and relax, you've made your contribution!
For help getting started with Flutter, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.