We welcome contributions to FlowPay and appreciate the effort made by every contributor. If you're interested in improving the project, here's how you can get involved:
- Fork the repository by clicking the "Fork" button on the FlowPay GitHub page.
- Clone your forked repository to your local machine:
git clone https://github.com/<your-username>/Flowpay.git cd Flowpay
- Install dependencies:
npm install
- Set up environment variables by copying the
.env.examplefile to.envand filling in the necessary details (e.g.,JWT_SECRET,NEXTAUTH_URL,DATABASE_URL). - Initialize the database:
npm run db:migrate npm run db:generate
- Start the development server:
npm run dev
- Create a new branch to work on your feature or fix:
git checkout -b feature/your-feature-name
- Write your code and make sure it adheres to the coding standards of this project.
- Test your changes locally and ensure everything works as expected.
- Add your changes:
git add . - Commit your changes with a clear and descriptive message:
git commit -m "Add your commit message here" - Push your changes:
git push origin feature/your-feature-name
- Open a pull request to the
mainbranch of this repository. Provide a clear description of the changes you’ve made and any additional information.
- Follow best practices for writing clean, readable, and maintainable code.
- Use ESLint and Prettier to ensure consistent code formatting. Check if the project’s
.eslint.jsonand.prettierrcconfigurations are in place.
- Write clear and concise commit messages. Follow the Conventional Commits style guide if possible.
- Make sure you write tests for any new features or bug fixes.
- Ensure all existing tests pass by running:
npm run test
- Be open to feedback and make requested changes before merging your pull request.
We appreciate contributions in the following areas:
- Bug Fixes: Help fix any issues found in the project. Check the open issues for details.
- Features: Add new features to enhance the functionality of FlowPay.
- For example, a merchant app or integration with additional payment providers.
- Webhooks for event-driven actions.
- UI/UX Enhancements: Improve the user interface, accessibility, and design.
- Documentation: Help improve the documentation by fixing typos, improving readability, or adding missing information.
Please be respectful and follow the Code of Conduct while contributing to this project.
Thank you for contributing to FlowPay! Your help is truly appreciated! 🚀