Thank you for your interest in contributing to the Custos-Mobile app, built with React Native! We welcome contributions of all types, from bug fixes to feature enhancements. Please follow these guidelines to ensure a smooth and efficient contribution process.
- Code of Conduct
- How to Contribute
- Setting Up the Project
- Branching and Commit Guidelines
- Pull Requests
- Coding Standards
- Styling Guidelines
- Issue Reporting
- Resources
- License
Please read and adhere to our Code of Conduct. We expect contributors to engage respectfully and professionally.
Ways you can contribute to Custos-Mobile:
- Report Bugs: Create a GitHub issue to report bugs.
- Submit Feature Requests: Open an issue to suggest features.
- Fix Bugs/Implement Features: Submit a PR for an open issue.
- Improve Documentation: Enhancements to documentation are appreciated.
Before contributing, set up the project locally:
- Fork the repository.
- Clone your fork:
git clone https://github.com/your-username/custos-mobile.git
- Navigate to the project directory:
cd custos-mobile
- Install dependencies:
npm
- Run the project:
npm start
- Ensure everything works before making changes.
-
Branch Naming:
feature/your-feature-name
for new features.bugfix/issue-number-description
for bug fixes.
-
Commit Messages:
- Use meaningful, concise messages.
- Example:
feat: add dark mode support for mobile app
- Ensure your branch is up to date with the main branch.
- Open a PR against the
master
branch. - Provide a detailed description of your changes.
- Reference any relevant issues.
- React Native: Follow React Native best practices.
- Code Quality: Write clean, maintainable code. Ensure functions and variables have meaningful names.
- Testing: Write tests for your changes. Run tests before submitting a PR.
- We use Styled Components for styling. Refer to the Styled Components documentation for guidelines.
- Ensure that any new styles align with the design system.
When reporting issues:
- Use a clear and descriptive title.
- Provide details about the issue, steps to reproduce, and environment information.
- Attach screenshots or logs if applicable.