We welcome contributions to the React API Kit! Please follow these guidelines to ensure a smooth process.
This project adheres to a Code of Conduct. By participating, you are expected to uphold this code. (You should add a CODE_OF_CONDUCT.md file).
- Fork the repository: Click the "Fork" button on the GitHub repository page.
- Clone your fork:
git clone https://github.com/enkosi-ventures/react-api-kit.git - Navigate to the project directory:
cd react-api-kit - Install dependencies:
npm install
- Create a feature branch:
git checkout -b feat/your-feature-nameorfix/your-bug-fix. - Make your changes: Implement your feature or bug fix. Ensure code follows the established style and conventions.
- Add tests: Write unit or integration tests for your changes in the relevant package's
__tests__directory. - Ensure tests pass: Run
npm testfrom the root. - Ensure linter passes: Run
npm run lintfrom the root. Fix any reported issues. - Ensure code builds: Run
npm run buildfrom the root. - Commit your changes: Use clear and concise commit messages. Consider using Conventional Commits.
- Push to your fork:
git push origin feat/your-feature-name - Open a Pull Request (PR): Go to the original repository and open a PR from your fork's branch to the
mainbranch. Provide a clear description of your changes in the PR.
- Follow the rules defined in the
.eslintrc.jsand.prettierrc.jsfiles. - Use TypeScript with strict settings.
- Write clear, concise, and commented code where necessary.
If you encounter a bug or have a feature request, please open an issue on the GitHub repository. Provide as much detail as possible, including steps to reproduce (for bugs) or the use case (for features).
Thank you for contributing!